Edit

Share via


NameScope.NameScope Attached Property

Definition

Gets or sets dynamically attached NameScope instances.

see GetNameScope, and SetNameScope
see GetNameScope, and SetNameScope
see GetNameScope, and SetNameScope

Remarks

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.

Dependency Property Information

Item Value
Identifier field NameScopeProperty
Metadata properties set to true None

Applies to

See also