Delen via


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(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3309434252, 17321, 16918, 183, 24, 224, 177, 27, 20, 233, 62)]
struct IXamlMember
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3309434252, 17321, 16918, 183, 24, 224, 177, 27, 20, 233, 62)]
public interface IXamlMember
Public Interface IXamlMember
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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