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.
input_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 {
18  enum class input_box_style {
20  normal,
22  multiline,
24  password
25  };
26 
28  inline std::ostream& operator<<(std::ostream& os, input_box_style value) {return os << to_string(value, {{input_box_style::normal, "normal"}, {input_box_style::multiline, "multiline"}, {input_box_style::password, "password"}});}
29  inline std::wostream& operator<<(std::wostream& os, input_box_style value) {return os << to_string(value, {{input_box_style::normal, L"normal"}, {input_box_style::multiline, L"multiline"}, {input_box_style::password, L"password"}});}
31  }
32 }
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
input_box_style
Specifies constants defining which input_box style is used.
Definition: input_box_style.h:18
@ password
Single line text box with password characters.
@ multiline
Multiline text box.
@ normal
Single line text box.
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.