43 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::forms::mouse_buttons> {{
xtd::forms::mouse_buttons::none,
"none"}, {
xtd::forms::mouse_buttons::left,
"left"}, {
xtd::forms::mouse_buttons::right,
"right"}, {
xtd::forms::mouse_buttons::middle,
"middle"}, {
xtd::forms::mouse_buttons::x_button1,
"x_button1"}, {
xtd::forms::mouse_buttons::x_button2,
"x_button2"}};}
#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
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