57 inline std::ostream& operator<<(std::ostream& os,
draw_item_state value) {
return os <<
to_string(value, {{
draw_item_state::none,
"none"}, {
draw_item_state::selected,
"selected"}, {
draw_item_state::grayed,
"grayed"}, {
draw_item_state::disabled,
"disabled"}, {
draw_item_state::checked,
"checked"}, {
draw_item_state::focus,
"focus"}, {
draw_item_state::default_state,
"default_state"}, {
draw_item_state::hot_light,
"hot_light"}, {
draw_item_state::inactive,
"inactive"}, {
draw_item_state::no_accelerator,
"no_accelerator"}, {
draw_item_state::no_focus_rect,
"no_focus_rect"}, {
draw_item_state::combo_box_edit,
"combo_box_edit"}});}
58 inline std::wostream& operator <<(std::wostream& os,
draw_item_state value) {
return os <<
to_string(value, {{
draw_item_state::none, L
"none"}, {
draw_item_state::selected, L
"selected"}, {
draw_item_state::grayed, L
"grayed"}, {
draw_item_state::disabled, L
"disabled"}, {
draw_item_state::checked, L
"checked"}, {
draw_item_state::focus, L
"focus"}, {
draw_item_state::default_state, L
"default_state"}, {
draw_item_state::hot_light, L
"hot_light"}, {
draw_item_state::inactive, L
"inactive"}, {
draw_item_state::no_accelerator, L
"no_accelerator"}, {
draw_item_state::no_focus_rect, L
"no_focus_rect"}, {
draw_item_state::combo_box_edit, L
"combo_box_edit"}});}
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition to_string.h:41
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10