Export (0) Print
Expand All

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 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

Supported in: 4, 3.5 SP1, 3.0 SP2

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft