xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
horizontal_alignment.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
horizontal_alignment
{
24
left
= 0,
26
right
= 1,
28
center
= 2,
29
};
30
}
31
}
32
34
template
<>
struct
xtd::enum_register
<
xtd
::
forms::horizontal_alignment
> {
35
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::horizontal_alignment>
{{
xtd::forms::horizontal_alignment::left
,
"left"
}, {
xtd::forms::horizontal_alignment::right
,
"right"
}, {
xtd::forms::horizontal_alignment::center
,
"center"
}};}
36
};
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::horizontal_alignment
horizontal_alignment
Specifies how an object or text in a control is horizontally aligned relative to an element of the co...
Definition
horizontal_alignment.hpp:22
xtd::forms::horizontal_alignment::right
@ right
The object or text is aligned on the right of the control element.
Definition
horizontal_alignment.hpp:26
xtd::forms::horizontal_alignment::left
@ left
The object or text is aligned on the left of the control element.
Definition
horizontal_alignment.hpp:24
xtd::forms::horizontal_alignment::center
@ center
The object or text is aligned in the center of the control element.
Definition
horizontal_alignment.hpp:28
xtd::forms::anchor_styles::right
@ right
Bind control edges to the right of its container.
Definition
anchor_styles.hpp:29
xtd::forms::anchor_styles::left
@ left
Bind control edges to the left of its container.
Definition
anchor_styles.hpp:27
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.