xtd 0.2.0
Loading...
Searching...
No Matches
color_box_styles.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace 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
40flags_attribute_(xtd::forms, color_box_styles);
41
44};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
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
color_box_styles
Specifies constants defining which color_box styles is used.
Definition color_box_styles.h:20
@ 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.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:36