xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
dialog_style.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/ustring.h>
6
8namespace xtd {
10 namespace forms {
17 enum class dialog_style {
19 standard = 0,
21 system = 1,
22 };
23
25 inline std::ostream& operator<<(std::ostream& os, dialog_style value) {return os << to_string(value, {{dialog_style::standard, "standard"}, {dialog_style::system, "system"}});}
26 inline std::wostream& operator<<(std::wostream& os, dialog_style value) {return os << to_string(value, {{dialog_style::standard, L"standard"}, {dialog_style::system, L"system"}});}
28 }
29}
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
dialog_style
Specifies the style of a dialog.
Definition dialog_style.h:17
@ system
System style dialog.
@ standard
Standard style dialog.
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.