xtd 0.2.0
content_alignment.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
19  enum class content_alignment {
21  top_left = 0b1,
23  top_center = 0b10,
25  top_right = 0b100,
27  middle_left = 0b10000,
29  middle_center = 0b100000,
31  middle_right = 0b1000000,
33  bottom_left = 0b100000000,
35  bottom_center = 0b1000000000,
37  bottom_right = 0b10000000000,
38  };
39  }
40 }
41 
43 template<> struct xtd::enum_register<xtd::forms::content_alignment> {
45 };
Content is vertically aligned at the bottom, and horizontally aligned on the right.
Content is vertically aligned at the middle, and horizontally aligned on the right.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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
Content is vertically aligned at the bottom, and horizontally aligned at the center.
content_alignment
Specifies alignment of content on the drawing surface.
Definition: content_alignment.h:19
Content is vertically aligned in the bottom, and horizontally aligned on the left.
Content is vertically aligned in the middle, and horizontally aligned on the left.
Content is vertically aligned at the top, and horizontally aligned on the left.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Content is vertically aligned at the middle, and horizontally aligned at the center.
Content is vertically aligned at the top, and horizontally aligned on the right.
Content is vertically aligned at the top, and horizontally aligned at the center. ...
Provides the registration struct for enumerations.
Definition: enum_register.h:36