xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
tool_bar_button_style.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
23
enum class
tool_bar_button_style
{
25
push_button
= 1,
27
toggle_button
= 2,
29
separator
= 3,
31
drop_down_button
= 4,
33
stretchable_separator
= 5,
35
control
= 6,
36
};
37
}
38
}
39
41
template
<>
struct
xtd::enum_register
<
xtd
::
forms::tool_bar_button_style
> {
42
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::tool_bar_button_style>
{{
xtd::forms::tool_bar_button_style::push_button
,
"push_button"
}, {
xtd::forms::tool_bar_button_style::toggle_button
,
"toggle_button"
}, {
xtd::forms::tool_bar_button_style::separator
,
"separator"
}, {
xtd::forms::tool_bar_button_style::drop_down_button
,
"drop_down_button"
}, {
xtd::forms::tool_bar_button_style::stretchable_separator
,
"stretchable_separator"
}, {
xtd::forms::tool_bar_button_style::control
,
"control"
}};}
43
};
xtd::forms::control
Defines the base class for controls, which are components with visual representation.
Definition
control.hpp:82
xtd::forms::toggle_button
Represents a Windows toggle_button.
Definition
toggle_button.hpp:44
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
xtd::forms::tool_bar_button_style
tool_bar_button_style
Specifies the button style within a toolbar.
Definition
tool_bar_button_style.hpp:23
xtd::forms::keys::separator
@ separator
The separator key.
Definition
keys.hpp:283
xtd::forms::tool_bar_button_style::push_button
@ push_button
A standard, three-dimensional button.
Definition
tool_bar_button_style.hpp:25
xtd::forms::tool_bar_button_style::separator
@ separator
A space or line between toolbar buttons. The appearance depends on the value of the xtd::forms::tool_...
Definition
tool_bar_button_style.hpp:29
xtd::forms::tool_bar_button_style::stretchable_separator
@ stretchable_separator
A stretchable space with or without line between toolbar buttons. The appearance depends on the value...
Definition
tool_bar_button_style.hpp:33
xtd::forms::tool_bar_button_style::drop_down_button
@ drop_down_button
A drop-down control that displays a menu or other window when clicked.
Definition
tool_bar_button_style.hpp:31
xtd::forms::tool_bar_button_style::toggle_button
@ toggle_button
A toggle button that appears sunken when clicked and retains the sunken appearance until clicked agai...
Definition
tool_bar_button_style.hpp:27
xtd::forms::tool_bar_button_style::control
@ control
Use to add any control to the toolbar. Using with xtd::forms::tool_bar_button::control property.
Definition
tool_bar_button_style.hpp:35
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.