ToolBarButton::Name Property

 

The name of the button.

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

public:
[BrowsableAttribute(false)]
property String^ Name {
	String^ get();
	void set(String^ value);
}

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: