This documentation is archived and is not being maintained.

NameScope Members

Implements base support for the INameScope methods that store or retrieve name-object mappings into a particular namescope, and adds attached property support to make it simpler to get or set identifier namescope information dynamically at the element level..

The NameScope type exposes the following members.

Public method NameScope Initializes a new instance of the NameScope class.

Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindName Returns the corresponding object in a namescope, based on a provided name string.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Static member GetNameScope Provides the attached property get accessor for the NameScope attached property.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RegisterName Registers a new name-object pair into the current XAML namescope.
Public method Static member SetNameScope Provides the attached property set accessor for the NameScope attached property.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnregisterName Removes a name-object mapping from the XAML namescope.

Public field Static member NameScopeProperty Identifies the NameScope  attached property.

Public attached property NameScope Gets or sets dynamically attached NameScope instances.