NameScope Attached Property
Collapse the table of content
Expand the table of content

NameScope.NameScope Attached Property


Gets or sets dynamically attached NameScope instances.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

See GetNameScope, SetNameScope

Property Value

Type: System.Windows.Markup.INameScope

The attached name scope on a particular object.

This attached property requires attached property usage in XAML, or use of the GetNameScope and SetNameScope accessors in code. Setting the namescope in XAML is not common. The attached property usage is primarily to facilitate attaching XAML namescopes to objects that do not share inheritance for XAML namescope implementations. DependencyObject and derived classes support this inheritance natively.

Identifier field


Metadata properties set to true


Return to top
© 2015 Microsoft