Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NameScopePropertyAttribute::Type Property

 

Gets the owner type of the attached property that provides the XAML namescope support.

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

public:
property Type^ Type {
	Type^ get();
}

Property Value

Type: System::Type^

A Type value that is the owner type of the attached property that provides the XAML namescope support, or null. See Remarks.

This property only is relevant if the XAML namescope implementing property is an attachable member, in which case this is the attachable member's owner type. Otherwise, this value may be null. If you need general reflection-based logic that reports a namescope property's defining type in all cases, then you can substitute the type where the attribute is applied whenever you encounter null for this property.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft