xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
color_box_styles.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
22
enum class
color_box_styles
{
24
none
= 0,
26
alpha_color
= 0b1,
28
allow_full_open
= 0b10,
30
any_color
= 0b100,
32
full_open
= 0b1000,
34
show_help
= 0b10000,
36
solid_color_only
= 0b100000,
37
};
38
}
39
}
40
42
flags_attribute_
(
xtd::forms
, color_box_styles);
43
44
template
<>
struct
xtd::enum_register
<
xtd
::
forms::color_box_styles
> {
45
static
auto
values
() noexcept {
return
xtd::enum_collection<xtd::forms::color_box_styles>
{{
xtd::forms::color_box_styles::none
,
"none"
}, {
xtd::forms::color_box_styles::alpha_color
,
"alpha_color"
}, {
xtd::forms::color_box_styles::allow_full_open
,
"allow_full_open"
}, {
xtd::forms::color_box_styles::any_color
,
"any_color"
}, {
xtd::forms::color_box_styles::full_open
,
"full_open"
}, {
xtd::forms::color_box_styles::show_help
,
"show_help"
}, {
xtd::forms::color_box_styles::solid_color_only
,
"solid_color_only"
}};}
46
};
flags_attribute_
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition
flags_attribute.hpp:34
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::color_box_styles
color_box_styles
Specifies constants defining which color_box styles is used.
Definition
color_box_styles.hpp:22
xtd::forms::color_box_styles::none
@ none
The cause of the closure was not defined or could not be determined.
Definition
color_box_styles.hpp:24
xtd::forms::color_box_styles::alpha_color
@ alpha_color
The color box shows alpha values and an opacity selector (slider).
Definition
color_box_styles.hpp:26
xtd::forms::color_box_styles::allow_full_open
@ allow_full_open
The user can use the dialog box to define custom colors.
Definition
color_box_styles.hpp:28
xtd::forms::color_box_styles::solid_color_only
@ solid_color_only
The dialog box will restrict users to selecting solid colors only.
Definition
color_box_styles.hpp:36
xtd::forms::color_box_styles::full_open
@ full_open
The controls used to create custom colors are visible when the dialog box is opened.
Definition
color_box_styles.hpp:32
xtd::forms::color_box_styles::any_color
@ any_color
The dialog box displays all available colors in the set of basic colors.
Definition
color_box_styles.hpp:30
xtd::forms::color_box_styles::show_help
@ show_help
A Help button appears in the color dialog box.
Definition
color_box_styles.hpp:34
xtd::forms::anchor_styles::none
@ none
no styles.
Definition
anchor_styles.hpp:21
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.