UnregisterName Method

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


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
© 2016 Microsoft