Class TypeExtension
Implements
IMarkupExtension<System.Object>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Xaml.Markup
Assembly: OpenSilver.Xaml.dll
Syntax
[MarkupExtensionReturnType(typeof(Type))]
[TypeConverter(typeof(TypeExtensionConverter))]
public class TypeExtension : MarkupExtension, IMarkupExtension<object>
Constructors
| Improve this Doc View SourceTypeExtension()
Declaration
public TypeExtension()
TypeExtension(String)
Declaration
public TypeExtension(string typeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | typeName |
TypeExtension(Type)
Declaration
public TypeExtension(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type |
Properties
| Improve this Doc View SourceType
Declaration
[ConstructorArgument("type")]
public Type Type { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
TypeName
Declaration
public string TypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceProvideValue(IServiceProvider)
Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider |
Returns
Type | Description |
---|---|
System.Object |