System.Windows.Forms.ToolBarButton: Property Members

The properties of System.Windows.Forms.ToolBarButton are listed below. For a list of all members, see the ToolBarButton Members list.

See Also: Inherited members from System.ComponentModel.Component

Public Properties

DropDownMenuMenu.

Gets or sets the menu to be displayed in the drop-down toolbar button.

Enabledbool.

Gets or sets a value indicating whether the button is enabled.

ImageIndexint.

Gets or sets the index value of the image assigned to the button.

ImageKeystring.

Gets or sets the name of the image assigned to the button.

Namestring.

The name of the button.

[read-only]
ParentToolBar.

Gets the toolbar control that the toolbar button is assigned to.

PartialPushbool.

Gets or sets a value indicating whether a toggle-style toolbar button is partially pushed.

Pushedbool.

Gets or sets a value indicating whether a toggle-style toolbar button is currently in the pushed state.

[read-only]
RectangleSystem.Drawing.Rectangle.

Gets the bounding rectangle for a toolbar button.

StyleToolBarButtonStyle.

Gets or sets the style of the toolbar button.

Tagobject.

Gets or sets the object that contains data about the toolbar button.

Textstring.

Gets or sets the text displayed on the toolbar button.

ToolTipTextstring.

Gets or sets the text that appears as a ToolTip for the button.

Visiblebool.

Gets or sets a value indicating whether the toolbar button is visible.