xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
combo_box_style.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/ustring.h>
6 
8 namespace xtd {
10  namespace forms {
20  enum class combo_box_style {
22  simple = 1,
24  drop_down = 2,
26  drop_down_list = 3,
27  };
28 
30  inline std::ostream& operator<<(std::ostream& os, combo_box_style value) {return os << to_string(value, {{combo_box_style::simple, "simple"}, {combo_box_style::drop_down, "drop_down"}, {combo_box_style::drop_down_list, "drop_down_list"}});}
31  inline std::wostream& operator<<(std::wostream& os, combo_box_style value) {return os << to_string(value, {{combo_box_style::simple, L"simple"}, {combo_box_style::drop_down, L"drop_down"}, {combo_box_style::drop_down_list, L"drop_down_list"}});}
33  }
34 }
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:37
combo_box_style
Specifies the combo_box style.
Definition: combo_box_style.h:20
@ drop_down
Specifies that the list is displayed by clicking the down arrow and that the text portion is editable...
@ drop_down_list
Specifies that the list is displayed by clicking the down arrow and that the text portion is not edit...
@ simple
Specifies that the list is always visible and that the text portion is editable. This means that the ...
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::ustring class.