Style.RegisterName Method (String, Object)

 

Registers a new name-object pair in the current namescope.

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

Public Sub RegisterName (
	name As String,
	scopedElement As Object
)

Parameters

name
Type: System.String

The name to register.

scopedElement
Type: System.Object

The object to map to the specified name.

.NET Framework
Available since 3.0
Return to top
Show: