Export (0) Print
Expand All

ToolBarButton.Name Property

The name of the button.

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

[BrowsableAttribute(false)]
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft