xtd 0.2.0
color_box_styles.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
20  enum class color_box_styles {
22  none = 0,
24  alpha_color = 0b1,
26  allow_full_open = 0b10,
28  any_color = 0b100,
30  full_open = 0b1000,
32  show_help = 0b10000,
34  solid_color_only = 0b100000,
35  };
36  }
37 }
38 
41 
42 template<> struct xtd::enum_register<xtd::forms::color_box_styles> {
44 };
A Help button appears in the color dialog box.
The cause of the closure was not defined or could not be determined.
The controls used to create custom colors are visible when the dialog box is opened.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
The color box shows alpha values and an opacity selector (slider).
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
The dialog box will restrict users to selecting solid colors only.
The dialog box displays all available colors in the set of basic colors.
color_box_styles
Specifies constants defining which color_box styles is used.
Definition: color_box_styles.h:20
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
The user can use the dialog box to define custom colors.
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:34
Provides the registration struct for enumerations.
Definition: enum_register.h:36