Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetAliasedProperty Method

XamlType.GetAliasedProperty Method

.NET Framework 4.6 and 4.5

Returns the XAML member that is aliased to a XAML directive by this XamlType.

Namespace:  System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public XamlMember GetAliasedProperty(
	XamlDirective directive


Type: System.Xaml.XamlDirective

The directive for which to find the aliased member.

Return Value

Type: System.Xaml.XamlMember
The aliased member, if found; otherwise, null.

If you do not use the default internal CLR reflection technique for a XamlType, calls to this method can invoke LookupAliasedProperty overrides on XamlType derived classes. For more information about return values and other behavior, see the documentation for LookupAliasedProperty on this type.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft