IXamlMember Interface

Definition

Provides the means to report XAML-type system specifics about XAML members. 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 class IXamlMember
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3208259859, 23651, 20716, 134, 96, 97, 128, 155, 231, 185, 185)]
struct IXamlMember
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(3208259859, 23651, 20716, 134, 96, 97, 128, 155, 231, 185, 185)]
public interface IXamlMember
Public Interface IXamlMember
Attributes

Remarks

For more info on IXamlType and IXamlMember and how these are used for XAML custom types, see "Remarks" section of IXamlType.

Properties

IsAttachable

Gets a value that indicates whether the XAML member is an attachable member.

IsDependencyProperty

Gets a value that indicates whether the XAML member is implemented as a dependency property.

IsReadOnly

Gets whether the XAML member is read-only in its backing implementation.

Name

Gets the XamlName name string that declares the XAML member.

TargetType

Gets the IXamlType of the type where the member can exist.

Type

Gets the IXamlType of the type that is used by the member.

Methods

GetValue(Object)

Provides a get-value utility for this IXamlMember.

SetValue(Object, Object)

Provides a set-value utility for this IXamlMember.

Applies to

See also