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.
flat_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 flat_style {
22  flat = 0,
24  popup,
26  standard,
28  system,
29  };
30 
32  inline std::ostream& operator<<(std::ostream& os, flat_style value) {return os << to_string(value, {{flat_style::flat, "flat"}, {flat_style::popup, "popup"}, {flat_style::standard, "standard"}, {flat_style::system, "system"}});}
33  inline std::wostream& operator<<(std::wostream& os, flat_style value) {return os << to_string(value, {{flat_style::flat, L"flat"}, {flat_style::popup, L"popup"}, {flat_style::standard, L"standard"}, {flat_style::system, L"system"}});}
35  }
36 }
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
flat_style
Specifies the appearance of a control.
Definition: flat_style.h:20
@ flat
The control appears flat.
@ system
The appearance of the control is determined by the user's operating system.
@ popup
A control appears flat until the mouse pointer moves over it, at which point it appears three-dimensi...
@ standard
The control appears three-dimensional.
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.