ToolBarButton.Name Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 2.0
Return to top
Show: