12 namespace visual_styles {
44 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::forms::visual_styles::push_button_state> {{
xtd::forms::visual_styles::push_button_state::normal,
"normal"}, {
xtd::forms::visual_styles::push_button_state::hot,
"hot"}, {
xtd::forms::visual_styles::push_button_state::pressed,
"pressed"}, {
xtd::forms::visual_styles::push_button_state::checked,
"checked"}, {
xtd::forms::visual_styles::push_button_state::disabled,
"disabled"}, {
xtd::forms::visual_styles::push_button_state::default_state,
"default_state"}};}
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.h:22
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:38