ToolBarButton Class

The ToolBarButton class that raises the Click event.
Public Class ToolBarButton 
Inherits DisposableBase
This language is not supported or no code example is available.
public class ToolBarButton : DisposableBase
This language is not supported or no code example is available.
Name Description
Public property DisabledDownImage Obsolete. Gets or sets the Image for the disabled down state.
Public property DisabledImage Obsolete. Deprecated property. Gets or sets the Image for the disabled state.
Public property Disposed (inherited from DisposableBase).
Public property DownImage Gets or sets the down state button image.
Public property Enabled Gets or sets the button status.
Public property HoverImage Gets or sets the mouse hover state button image.
Public property Image Gets or sets the button image.
Public property Name Gets or sets the name of the ToolBarButton.
Public property Pushed Gets or sets a value indicating whether a toggle-style toolbar button is currently in the pushed state.
Public property Rectangle Gets button rectangle in screen coordinates (zero on the top-left corner of the viewport).
Public property StyleMode Gets or sets the style of the toolbar button (DropDownButton is not supported).
Public property Tag Gets or sets the toolbar button custom data.
Public property ToolTipText Gets or sets the text to show on the ToolTip.
Public property Visible Gets or sets the visibility status.
Top
Name Description
Operator Static Equality
Operator Static Inequality
Top
Events
 
Name Description
Public event Click Occurs when the button is clicked.
Top
Name Description
Public delegate ClickEventHandler Represents the method that will handle the ToolBarButton.Click event.
Top
Name Description
Public enumeration styleType Specifies the button style type within a ToolBarButton.
Top

.NET Framework

Supported in: 4.7.2

In this article

Definition