XamlType.GetAliasedProperty Method (XamlDirective)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

Parameters

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
Available since 4.0
Return to top
Show: