xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
check_state.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
23
enum class
check_state
{
25
unchecked
= 0,
27
checked
= 1,
29
indeterminate
= 2
30
};
31
}
32
}
33
35
template
<>
struct
xtd::enum_register
<
xtd
::
forms::check_state
> {
36
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::check_state>
{{
xtd::forms::check_state::unchecked
,
"unchecked"
}, {
xtd::forms::check_state::checked
,
"checked"
}, {
xtd::forms::check_state::indeterminate
,
"indeterminate"
}};}
37
};
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
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.hpp:23
xtd::forms::button_state::checked
@ checked
The button has a checked or latched appearance. Use this appearance to show that a toggle button has ...
Definition
button_state.hpp:31
xtd::forms::check_state::checked
@ checked
The control is checked.
Definition
check_state.hpp:27
xtd::forms::check_state::indeterminate
@ indeterminate
The control is indeterminate. An indeterminate control generally has a shaded appearance.
Definition
check_state.hpp:29
xtd::forms::check_state::unchecked
@ unchecked
The control is unchecked.
Definition
check_state.hpp:25
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.