NameScope.NameScope Attached Property
Gets or sets dynamically attached NameScope instances.
Assembly: WindowsBase (in WindowsBase.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
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.