System.Windows.Forms.ToolBarButton Members

The members of System.Windows.Forms.ToolBarButton are listed below.

See Also: Inherited members from System.ComponentModel.Component

Public Constructors

Initializes a new instance of the System.Windows.Forms.ToolBarButton class.

Initializes a new instance of the System.Windows.Forms.ToolBarButton class and displays the assigned text on the button.

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.

Public Methods

override
ToString() : string

Returns a string that represents the System.Windows.Forms.ToolBarButton control.

Protected Methods

override
Dispose(bool)

Releases the unmanaged resources used by the System.Windows.Forms.ToolBarButton and optionally releases the managed resources.