This topic has not yet been rated - Rate this topic

IXamlMember interface

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

GuidAttribute("c541f58c-43a9-4216-b718-e0b11b14e93e")
VersionAttribute(NTDDI_WIN8)
WebHostHiddenAttribute()

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

Namespace

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

Metadata

Windows.winmd

See also

IXamlMetadataProvider
IXamlType
XAML overview

 

 

Build date: 12/4/2012

© 2013 Microsoft. All rights reserved.