xtd 0.2.0
anchor_styles.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum.h>
6 
8 namespace xtd {
10  namespace forms {
19  enum class anchor_styles {
21  none = 0b0,
23  top = 0b1,
25  bottom = 0b10,
27  left = 0b100,
29  right = 0b1000,
31  all = top | bottom | left | right,
32  };
33  }
34 }
35 
38 
39 template<> struct xtd::enum_register<xtd::forms::anchor_styles> {
41 };
Bind control edges to the top of its container.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Bind control edges to the bottom of its container.
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
Contains enum_ and enum_ut_ keywords.
Bind control edges to the right of its container.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:34
All flags except none.
Bind control edges to the left of its container.
anchor_styles
Specifies how a control anchors to the edges of its container.
Definition: anchor_styles.h:19
Provides the registration struct for enumerations.
Definition: enum_register.h:36