xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
dock_style.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
dock_style
{
25
none
= 0,
27
top
= 1,
29
bottom
= 2,
31
left = 3,
33
right = 4,
35
fill
= 5,
36
};
37
}
38
}
39
41
template
<>
struct
xtd::enum_register
<
xtd
::
forms::dock_style
> {
42
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::dock_style>
{{
xtd::forms::dock_style::none
,
"none"
}, {
xtd::forms::dock_style::top
,
"top"
}, {
xtd::forms::dock_style::bottom
,
"bottom"
}, {
xtd::forms::dock_style::left
,
"left"
}, {
xtd::forms::dock_style::right
,
"right"
}, {
xtd::forms::dock_style::fill
,
"fill"
}};}
43
};
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::console_modifiers::none
@ none
No modifier key.
Definition
console_modifiers.hpp:22
xtd::forms::dock_style
dock_style
Specifies the position and manner in which a control is docked.
Definition
dock_style.hpp:23
xtd::forms::dock_style::none
@ none
The control is not docked.
Definition
dock_style.hpp:25
xtd::forms::dock_style::bottom
@ bottom
The control's bottom edge is docked to the bottom of its containing control.
Definition
dock_style.hpp:29
xtd::forms::dock_style::right
@ right
The control's right edge is docked to the right edge of its containing control.
Definition
dock_style.hpp:33
xtd::forms::dock_style::left
@ left
The control's left edge is docked to the left edge of its containing control.
Definition
dock_style.hpp:31
xtd::forms::dock_style::fill
@ fill
All the control's edges are docked to the all edges of its containing control and sized appropriately...
Definition
dock_style.hpp:35
xtd::forms::dock_style::top
@ top
The control's top edge is docked to the top of its containing control.
Definition
dock_style.hpp:27
xtd::forms::anchor_styles::bottom
@ bottom
Bind control edges to the bottom of its container.
Definition
anchor_styles.hpp:25
xtd::forms::anchor_styles::top
@ top
Bind control edges to the top of its container.
Definition
anchor_styles.hpp:23
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.