xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
radio_button_state.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/ustring.h>
6 
8 namespace xtd {
10  namespace forms {
12  namespace visual_styles {
20  enum class radio_button_state {
22  unchecked_normal = 1,
37  };
38 
40  inline std::ostream& operator<<(std::ostream& os, radio_button_state value) {return os << to_string(value, {{radio_button_state::unchecked_normal, "unchecked_normal"}, {radio_button_state::unchecked_hot, "unchecked_hot"}, {radio_button_state::unchecked_pressed, "unchecked_pressed"}, {radio_button_state::unchecked_disabled, "unchecked_disabled"}, {radio_button_state::checked_normal, "checked_normal"}, {radio_button_state::checked_hot, "checked_hot"}, {radio_button_state::checked_pressed, "checked_pressed"}, {radio_button_state::checked_disabled, "checked_disabled"}});}
41  inline std::wostream& operator<<(std::wostream& os, radio_button_state value) {return os << to_string(value, {{radio_button_state::unchecked_normal, L"unchecked_normal"}, {radio_button_state::unchecked_hot, L"unchecked_hot"}, {radio_button_state::unchecked_pressed, L"unchecked_pressed"}, {radio_button_state::unchecked_disabled, L"unchecked_disabled"}, {radio_button_state::checked_normal, L"checked_normal"}, {radio_button_state::checked_hot, L"checked_hot"}, {radio_button_state::checked_pressed, L"checked_pressed"}, {radio_button_state::checked_disabled, L"checked_disabled"}});}
43  }
44  }
45 }
radio_button_state
Specifies the visual state of a radio button that is drawn with visual styles.
Definition: radio_button_state.h:20
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1110
Contains xtd::ustring class.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13