IXamlType2 IXamlType2 IXamlType2 IXamlType2 Interface

Definition

Provides the means to report XAML-type system specifics about XAML types. Using this interface contract, XAML parsers can load any custom types and members thereof that are defined in your app and are referenced in XAML files.

public : interface IXamlType2 : IXamlType
struct winrt::Windows::UI::Xaml::Markup::IXamlType2 : IXamlType
public interface IXamlType2 : IXamlType
Public Interface IXamlType2 Implements IXamlType
Inheritance
IXamlType2IXamlType2IXamlType2IXamlType2
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Properties

BaseType BaseType BaseType BaseType

Gets the IXamlType for the immediate base type of the XAML type. Determination of this value is based on the underlying type for core types.

(Inherited from IXamlType)
BoxedType BoxedType BoxedType BoxedType

Gets the IXamlType for the boxed type of the XAML type. Determination of this value is based on the underlying type for core types.

ContentProperty ContentProperty ContentProperty ContentProperty

Gets the IXamlMember information for the XAML content property of this IXamlType.

(Inherited from IXamlType)
FullName FullName FullName FullName

Gets the full class name of the underlying type.

(Inherited from IXamlType)
IsArray IsArray IsArray IsArray

Gets a value that indicates whether the IXamlType represents an array.

(Inherited from IXamlType)
IsBindable IsBindable IsBindable IsBindable

Gets a value that declares whether the type is bindable.

(Inherited from IXamlType)
IsCollection IsCollection IsCollection IsCollection

Gets a value that indicates whether this IXamlType represents a collection.

(Inherited from IXamlType)
IsConstructible IsConstructible IsConstructible IsConstructible

Gets a value that indicates whether this IXamlType represents a constructible type, as per the XAML definition.

(Inherited from IXamlType)
IsDictionary IsDictionary IsDictionary IsDictionary

Gets a value that indicates whether this IXamlType represents a dictionary/map.

(Inherited from IXamlType)
IsMarkupExtension IsMarkupExtension IsMarkupExtension IsMarkupExtension

Gets a value that indicates whether the IXamlType represents a markup extension.

(Inherited from IXamlType)
ItemType ItemType ItemType ItemType

Gets a value that provides the type information for the Items property of this IXamlType.

(Inherited from IXamlType)
KeyType KeyType KeyType KeyType

Gets a value that provides the type information for the Key property of this IXamlType, if this IXamlType represents a dictionary/map.

(Inherited from IXamlType)
UnderlyingType UnderlyingType UnderlyingType UnderlyingType

Gets information for the backing type.

(Inherited from IXamlType)

Methods

ActivateInstance ActivateInstance ActivateInstance ActivateInstance

Given a XAML type, sets its values for initialization and returns a usable instance.

(Inherited from IXamlType)
AddToMap(Object,Object,Object) AddToMap(Object,Object,Object) AddToMap(Object,Object,Object) AddToMap(Object,Object,Object)

Adds an item to a custom map type.

(Inherited from IXamlType)
AddToVector(Object,Object) AddToVector(Object,Object) AddToVector(Object,Object) AddToVector(Object,Object)

Adds an item to a custom vector type.

(Inherited from IXamlType)
CreateFromString(String) CreateFromString(String) CreateFromString(String) CreateFromString(String)

Creates a type system representation based on a string. The main scenario for this usage is creating an enumeration value and mapping the appropriate enumeration.

(Inherited from IXamlType)
GetMember(String) GetMember(String) GetMember(String) GetMember(String)

Returns the IXamlMember information for a specific named member from this IXamlType.

(Inherited from IXamlType)
RunInitializer RunInitializer RunInitializer RunInitializer

Invokes any necessary pre-activation logic as required by the XAML schema context and its platform dependencies.

(Inherited from IXamlType)

See also