ToolBarButton.Name Property


The name of the button.

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

public string Name { get; set; }

Property Value

Type: System.String

The name of the button.

You can use the button name as a key to retrieve the ToolBarButton from the Buttons collection of a ToolBar control.

.NET Framework
Available since 2.0
Return to top