xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
form_border_style.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/ustring.h>
6
8namespace xtd {
10 namespace forms {
18 enum class form_border_style {
20 none = 0,
22 fixed_single = 1,
24 fixed_3d = 2,
26 fixed_dialog = 3,
28 sizable = 4,
33 };
34
36 inline std::ostream& operator<<(std::ostream& os, form_border_style value) {return os << to_string(value, {{form_border_style::none, "none"}, {form_border_style::fixed_single, "fixed_single"}, {form_border_style::fixed_3d, "fixed_3d"}, {form_border_style::fixed_dialog, "fixed_dialog"}, {form_border_style::sizable, "sizable"}, {form_border_style::fixed_tool_window, "fixed_tool_window"}, {form_border_style::sizable_tool_window, "sizable_tool_window"}});}
37 inline std::wostream& operator<<(std::wostream& os, form_border_style value) {return os << to_string(value, {{form_border_style::none, L"none"}, {form_border_style::fixed_single, L"fixed_single"}, {form_border_style::fixed_3d, L"fixed_3d"}, {form_border_style::fixed_dialog, L"fixed_dialog"}, {form_border_style::sizable, L"sizable"}, {form_border_style::fixed_tool_window, L"fixed_tool_window"}, {form_border_style::sizable_tool_window, L"sizable_tool_window"}});}
39 }
40}
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
form_border_style
Specifies the border styles for a form.
Definition: form_border_style.h:18
@ fixed_3d
A three-dimensional border.
@ fixed_single
A single-line border.
@ none
The cause of the closure was not defined or could not be determined.
@ sizable_tool_window
A resizable tool window border. A tool window does not appear in the taskbar or in the window that ap...
@ fixed_tool_window
A tool window border that is not resizable. A tool window does not appear in the taskbar or in the wi...
@ fixed_3d
A fixed, three-dimensional border.
@ fixed_dialog
A thick, fixed dialog-style border.
@ fixed_single
A fixed, single-line border.
@ sizable
A resizable border.
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.