XamlType.LookupAliasedProperty Method (XamlDirective)

.NET Framework (current version)

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

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

protected virtual XamlMember LookupAliasedProperty(
	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.

This method can be invoked when a caller gets a value from GetAliasedProperty.

The default implementation can return results for the following XAML directives: Key; Name; Uid; and xml:lang. Values for these depend on underlying reflection and might still return null if no aliased property is found.

Override this method if you are not relying on default internal CLR reflection and are using metadata or other techniques for reporting the XAML type system information or the schema information of a type.

.NET Framework
Available since 4.0
Return to top