System.Windows.Forms.ToolBarButton.Style Property

Gets or sets the style of the toolbar button.

Syntax

[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint)]
[System.ComponentModel.DefaultValue(System.Windows.Forms.ToolBarButtonStyle.PushButton)]
public ToolBarButtonStyle Style { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the button ToolBarButton.Style is set to ToolBarButtonStyle.DropDownButton you can specify a System.Windows.Forms.MenuItem to be displayed when the drop-down button is pressed. If the style is set to ToolBarButtonStyle.Separator, the toolbar button appears as a button separator and not as a button. The ToolBarButtonStyle.ToggleButton style causes the toolbar button to act like a toggle button; it can be in an on or off state.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0