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
xtd.forms
include
xtd
forms
check_state.h
Go to the documentation of this file.
1
4
#pragma once
5
#include <
xtd/ustring.h
>
6
8
namespace
xtd
{
10
namespace
forms
{
19
enum class
check_state
{
21
unchecked
= 0,
23
checked
= 1,
25
indeterminate
= 2
26
};
27
29
inline
std::ostream& operator<<(std::ostream& os,
check_state
value) {
return
os <<
to_string
(value, {{
check_state::unchecked
,
"unchecked"
}, {
check_state::checked
,
"checked"
}, {
check_state::indeterminate
,
"indeterminate"
}});}
30
inline
std::wostream& operator<<(std::wostream& os,
check_state
value) {
return
os <<
to_string
(value, {{
check_state::unchecked
, L
"unchecked"
}, {
check_state::checked
, L
"checked"
}, {
check_state::indeterminate
, L
"indeterminate"
}});}
32
}
33
}
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::check_state
check_state
Specifies the state of a control, such as a check box, that can be checked, unchecked,...
Definition:
check_state.h:19
xtd::forms::button_state::checked
@ checked
The button has a checked or latched appearance. Use this appearance to show that a toggle button has ...
xtd::forms::check_state::checked
@ checked
The control is checked.
xtd::forms::check_state::indeterminate
@ indeterminate
The control is indeterminate. An indeterminate control generally has a shaded appearance.
xtd::forms::check_state::unchecked
@ unchecked
The control is unchecked.
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:25 for xtd - Reference Guide by
Gammasoft
. All rights reserved.