IXamlMember
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 IXamlMemberpublic interface IXamlMemberPublic Interface IXamlMember// This API is not available in Javascript.
- Attributes
| 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 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// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if the XAML member is an attachable member; otherwise, false.
- See Also
IsDependencyProperty 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// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if the XAML member is implemented as a dependency property; otherwise, false.
- See Also
IsReadOnly 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// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if the backing member is read-only; otherwise, false.
- See Also
Name 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// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The XamlName name string that declares the XAML member.
TargetType 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// This API is not available in Javascript.
Type 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// This API is not available in Javascript.
Methods
GetValue(Object) 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// This API is not available in Javascript.
- instance
- PlatForm::Object Object Object Object
The object instance to get the member value from.
The member value.
SetValue(Object, Object) 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// This API is not available in Javascript.
- instance
- PlatForm::Object Object Object Object
The object instance to set the member value on.
- value
- PlatForm::Object Object Object Object
The member value to set.