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.

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

NameScopeProperty

Metadata properties set to true

None

Return to top
Show:
© 2017 Microsoft