System.Windows.Forms.ToolBarButton.Style Property

Gets or sets the style of the toolbar button.


public ToolBarButtonStyle Style { set; get; }


Documentation for this section has not yet been entered.


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.


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