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.

FrameworkElement.UnregisterName Method (String)

 

Simplifies access to the NameScope de-registration method.

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

public void UnregisterName(
	string name
)

Parameters

name
Type: System.String

Name of the name-object pair to remove from the current scope.

You only need to un-register names if you intend to re-register another element with that same name.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft