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 {
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
45};
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_alignment
Specifies alignment of content on the drawing surface.
Definition content_alignment.h:19
@ 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:36