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.
Toggle main menu visibility
Home
Categories
Documentation
Namespaces
Classes
Class List
Class Index
Class Hierarchy
Files
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
tab_alignment.h
Go to the documentation of this file.
1
4
#pragma once
5
#include <
xtd/ustring.h
>
6
8
namespace
xtd
{
10
namespace
forms
{
18
enum class
tab_alignment
{
20
top
= 0,
22
bottom
= 1,
24
left
= 2,
26
right
= 3,
27
};
28
30
inline
std::ostream& operator<<(std::ostream& os,
tab_alignment
value) {
return
os <<
to_string
(value, {{
tab_alignment::top
,
"top"
}, {
tab_alignment::bottom
,
"bottom"
}, {
tab_alignment::left
,
"left"
}, {
tab_alignment::right
,
"right"
}});}
31
inline
std::wostream& operator<<(std::wostream& os,
tab_alignment
value) {
return
os <<
to_string
(value, {{
tab_alignment::top
, L
"top"
}, {
tab_alignment::bottom
, L
"bottom"
}, {
tab_alignment::left
, L
"left"
}, {
tab_alignment::right
, L
"right"
}});}
33
}
34
}
xtd::to_string
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
xtd::forms::tab_alignment
tab_alignment
Specifies the locations of the tabs in a tab control.
Definition:
tab_alignment.h:18
xtd::forms::tab_alignment::bottom
@ bottom
The tabs are located across the bottom of the control.
xtd::forms::tab_alignment::right
@ right
The tabs are located along the right edge of the control.
xtd::forms::tab_alignment::left
@ left
The tabs are located along the left edge of the control.
xtd::forms::tab_alignment::top
@ top
The tabs are located across the top of the control.
xtd::forms::anchor_styles::bottom
@ bottom
The parent form of this multiple document interface (MDI) form is closing.
xtd::forms::anchor_styles::right
@ right
The Microsoft Windows Task Manager is closing the application.
xtd::forms::anchor_styles::left
@ left
The user is closing the form through the user interface (UI), for example by clicking the Close butto...
xtd::forms::anchor_styles::top
@ top
The operating system is closing all applications before shutting down.
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition:
about_box.h:13
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition:
system_report.h:17
ustring.h
Contains xtd::ustring class.
Generated on Sat Jan 28 2023 18:12:26 for xtd - Reference Guide by
Gammasoft
. All rights reserved.