43 explicit operator auto()
const 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"}};}
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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
#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