xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
appearance.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
22
enum class
appearance
{
24
normal
= 0,
26
button
= 1,
28
switch_button
= 2,
29
};
30
}
31
}
32
34
template
<>
struct
xtd::enum_register
<
xtd
::
forms::appearance
> {
35
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::appearance>
{{
xtd::forms::appearance::normal
,
"normal"
}, {
xtd::forms::appearance::button
,
"button"
}, {
xtd::forms::appearance::switch_button
,
"switch_button"
}};}
36
};
xtd::forms::button
Represents a Windows button control.
Definition
button.hpp:49
xtd::forms::switch_button
Represents a standard Windows switch button.
Definition
switch_button.hpp:32
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::appearance
appearance
Specifies the appearance of a control.
Definition
appearance.hpp:22
xtd::forms::appearance::switch_button
@ switch_button
The appearance of a switch button.
Definition
appearance.hpp:28
xtd::forms::appearance::button
@ button
The appearance of a button.
Definition
appearance.hpp:26
xtd::forms::appearance::normal
@ normal
The default appearance defined by the control class.
Definition
appearance.hpp:24
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.