xtd 0.2.0
Loading...
Searching...
No Matches

◆ tool_bar_button_style

Specifies the button style within a toolbar.

Header
#include <xtd/forms/tool_bar_button_style>
Namespace
xtd::forms:
Library
xtd.forms
Remarks
This enumeration is used by members such as xtd::forms::tool_bar_button::style.
The toolbar button appearance is determined by the xtd::forms::tool_bar::appearance property of the toolbar. Setting the xtd::forms::tool_bar::appearance property to xtd::forms::tool_bar_appearance::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 as a space between the buttons.
Enumerator
push_button 

A standard, three-dimensional button.

toggle_button 

A toggle button that appears sunken when clicked and retains the sunken appearance until clicked again.

separator 

A space or line between toolbar buttons. The appearance depends on the value of the xtd::forms::tool_bar::appearance property.

drop_down_button 

A drop-down control that displays a menu or other window when clicked.

stretchable_separator 

A stretchable space with or without line between toolbar buttons. The appearance depends on the value of the xtd::forms::tool_bar::appearance property.

control 

Use to add any control to the toolbar. Using with xtd::forms::tool_bar_button::control property.