IXamlMember interface

Applies to Windows and Windows Phone

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.

Syntax


public interface IXamlMember

Attributes

[Version(0x06020000)]
[WebHostHidden()]

Members

The IXamlMember interface has these types of members:

Methods

The IXamlMember interface has these methods. It also inherits methods from the Object class.

MethodDescription
GetValue Provides a get-value utility for this IXamlMember.
SetValue Provides a set-value utility for this IXamlMember.

 

Properties

The IXamlMember interface has these properties.

PropertyAccess typeDescription

IsAttachable

Read-onlyGets a value that indicates whether the XAML member is an attachable member.

IsDependencyProperty

Read-onlyGets a value that indicates whether the XAML member is implemented as a dependency property.

IsReadOnly

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

Name

Read-onlyGets the XamlName name string that declares the XAML member.

TargetType

Read-onlyGets the IXamlType of the type where the member can exist.

Type

Read-onlyGets the IXamlType of the type that is used by the member.

 

Remarks

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Markup
Windows::UI::Xaml::Markup [C++]

Metadata

Windows.winmd

See also

IXamlMetadataProvider
IXamlType
XAML overview

 

 

Show:
© 2014 Microsoft