xtd 0.2.0
Loading...
Searching...
No Matches
color_box_styles.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace 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
42flags_attribute_(xtd::forms, color_box_styles);
43
46};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.hpp:34
std::vector< xtd::collections::generic::key_value_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:22
color_box_styles
Specifies constants defining which color_box styles is used.
Definition color_box_styles.hpp:22
@ none
The cause of the closure was not defined or could not be determined.
@ alpha_color
The color box shows alpha values and an opacity selector (slider).
@ allow_full_open
The user can use the dialog box to define custom colors.
@ solid_color_only
The dialog box will restrict users to selecting solid colors only.
@ full_open
The controls used to create custom colors are visible when the dialog box is opened.
@ any_color
The dialog box displays all available colors in the set of basic colors.
@ show_help
A Help button appears in the color dialog box.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38