xtd 0.2.0
Loading...
Searching...
No Matches
border_sides.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace 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
41flags_attribute_(xtd::forms, border_sides);
42
43template<> struct xtd::enum_register<xtd::forms::border_sides> {
45};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
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.h:22
border_sides
Specifies how a control anchors to the edges of its container.
Definition border_sides.h:23
@ bottom
Bind control edges to the bottom of its container.
@ right
Bind control edges to the right of its container.
@ left
Bind control edges to the left of its container.
@ top
Bind control edges to the top of its container.
@ bottom
Bind control edges to the bottom of its container.
@ right
Bind control edges to the right of its container.
@ left
Bind control edges to the left of its container.
@ all
All flags except none.
@ top
Bind control edges to the top of its container.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38