IXamlMember IXamlMember 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 IXamlMember
public interface IXamlMember
Public Interface IXamlMember
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Properties

IsAttachable IsAttachable IsAttachable

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

public : Platform::Boolean IsAttachable { get; }
public bool IsAttachable { get; }
Public ReadOnly Property IsAttachable As bool
Value
Platform::Boolean bool bool

true if the XAML member is an attachable member; otherwise, false.

See Also

IsDependencyProperty IsDependencyProperty IsDependencyProperty

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

public : Platform::Boolean IsDependencyProperty { get; }
public bool IsDependencyProperty { get; }
Public ReadOnly Property IsDependencyProperty As bool
Value
Platform::Boolean bool bool

true if the XAML member is implemented as a dependency property; otherwise, false.

See Also

IsReadOnly IsReadOnly IsReadOnly

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

public : Platform::Boolean IsReadOnly { get; }
public bool IsReadOnly { get; }
Public ReadOnly Property IsReadOnly As bool
Value
Platform::Boolean bool bool

true if the backing member is read-only; otherwise, false.

See Also

Name Name Name

Gets the XamlName name string that declares the XAML member.

public : Platform::String Name { get; }
public string Name { get; }
Public ReadOnly Property Name As string
Value
Platform::String string string

The XamlName name string that declares the XAML member.

TargetType TargetType TargetType

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

public : IXamlType TargetType { get; }
public IXamlType TargetType { get; }
Public ReadOnly Property TargetType As IXamlType
Value
IXamlType IXamlType IXamlType

The IXamlType of the type where the member can exist.

Type Type Type

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

public : IXamlType Type { get; }
public IXamlType Type { get; }
Public ReadOnly Property Type As IXamlType
Value
IXamlType IXamlType IXamlType

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

Methods

GetValue(Object) GetValue(Object) GetValue(Object)

Provides a get-value utility for this IXamlMember.

public : Platform::Object GetValue(Platform::Object instance)
public object GetValue(Object instance)
Public Function GetValue(instance As Object) As object
Parameters
instance
Platform::Object Object Object

The object instance to get the member value from.

Returns
Platform::Object object object

The member value.

SetValue(Object, Object) SetValue(Object, Object) SetValue(Object, Object)

Provides a set-value utility for this IXamlMember.

public : void SetValue(Platform::Object instance, Platform::Object value)
public void SetValue(Object instance, Object value)
Public Function SetValue(instance As Object, value As Object) As void
Parameters
instance
Platform::Object Object Object

The object instance to set the member value on.

value
Platform::Object Object Object

The member value to set.

See Also