xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
border_sides.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
border_sides
{
25
none
= 0b0,
27
top
= 0b1,
29
bottom
= 0b10,
31
left = 0b100,
33
right = 0b1000,
35
all =
top
|
bottom
| left | right,
36
};
37
}
38
}
39
41
flags_attribute_
(
xtd::forms
, border_sides);
42
43
template
<>
struct
xtd::enum_register
<
xtd
::
forms::border_sides
> {
44
static
auto
values
() noexcept {
return
xtd::enum_collection<xtd::forms::border_sides>
{{
xtd::forms::border_sides::none
,
"none"
}, {
xtd::forms::border_sides::top
,
"top"
}, {
xtd::forms::border_sides::bottom
,
"bottom"
}, {
xtd::forms::border_sides::left
,
"left"
}, {
xtd::forms::border_sides::right
,
"right"
}};}
45
};
flags_attribute_
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition
flags_attribute.hpp:34
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::border_sides
border_sides
Specifies how a control anchors to the edges of its container.
Definition
border_sides.hpp:23
xtd::forms::border_sides::none
@ none
no styles.
Definition
border_sides.hpp:25
xtd::forms::border_sides::bottom
@ bottom
Bind control edges to the bottom of its container.
Definition
border_sides.hpp:29
xtd::forms::border_sides::right
@ right
Bind control edges to the right of its container.
Definition
border_sides.hpp:33
xtd::forms::border_sides::left
@ left
Bind control edges to the left of its container.
Definition
border_sides.hpp:31
xtd::forms::border_sides::top
@ top
Bind control edges to the top of its container.
Definition
border_sides.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.