xtd 0.2.0
Loading...
Searching...
No Matches
content_alignment.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
21 enum class content_alignment {
23 top_left = 0b1,
25 top_center = 0b10,
27 top_right = 0b100,
29 middle_left = 0b10000,
31 middle_center = 0b100000,
33 middle_right = 0b1000000,
35 bottom_left = 0b100000000,
37 bottom_center = 0b1000000000,
39 bottom_right = 0b10000000000,
40 };
41 }
42}
43
47};
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
content_alignment
Specifies alignment of content on the drawing surface.
Definition content_alignment.h:21
@ top_center
Content is vertically aligned at the top, and horizontally aligned at the center.
@ bottom_center
Content is vertically aligned at the bottom, and horizontally aligned at the center.
@ bottom_left
Content is vertically aligned in the bottom, and horizontally aligned on the left.
@ top_left
Content is vertically aligned at the top, and horizontally aligned on the left.
@ middle_left
Content is vertically aligned in the middle, and horizontally aligned on the left.
@ bottom_right
Content is vertically aligned at the bottom, and horizontally aligned on the right.
@ middle_center
Content is vertically aligned at the middle, and horizontally aligned at the center.
@ top_right
Content is vertically aligned at the top, and horizontally aligned on the right.
@ middle_right
Content is vertically aligned at the middle, and horizontally aligned on the right.
@ bottom_left
Starts at the lower-left corner of the screen, which is the default position.
@ top_left
Starts at the upper-left corner of the screen.
@ bottom_right
Starts at the lower-right corner of the screen.
@ top_right
Starts at the upper-right corner of the screen.
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