NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ToolBarButtonStyle Enumeration

Specifies the button style within a toolbar.

[Visual Basic]
Public Enum ToolBarButtonStyle
[C#]
public enum ToolBarButtonStyle
[C++]
public enum ToolBarButtonStyle

[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.

Remarks

The toolbar button appearance is determined by the Appearance property of the toolbar. Setting the the Appearance property to Flat will give the toolbar and its buttons a flat appearance. As the mouse pointer moves over the buttons, they take on a three-dimensional appearance. Also when the toolbar has a flat appearance, button separators appear as a line rather than a space.

The DropDownButton style can display a menu or other window when the toolbar button is clicked.

Members

Member Name Description
DropDownButton A drop down control that displays a menu or other window when clicked.
PushButton A standard, three-dimensional button.
Separator A space or line between toolbar buttons. The appearance depends on the value of the Appearance property.
ToggleButton A toggle button that appears sunken when clicked and retains the sunken appearance until clicked again.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

System.WinForms Namespace | ToolBarAppearance | System.WinForms.Toolbar