xtd 0.2.0
Loading...
Searching...
No Matches
check_state.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
23 enum class check_state {
25 unchecked = 0,
27 checked = 1,
30 };
31 }
32}
33
35template<> struct xtd::enum_register<xtd::forms::check_state> {
36 explicit operator auto() const 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};
std::vector< xtd::collections::generic::key_value_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:22
check_state
Specifies the state of a control, such as a check box, that can be checked, unchecked,...
Definition check_state.hpp:23
@ checked
The button has a checked or latched appearance. Use this appearance to show that a toggle button has ...
@ checked
The control is checked.
@ indeterminate
The control is indeterminate. An indeterminate control generally has a shaded appearance.
@ unchecked
The control is unchecked.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38