xtd 0.2.0
Loading...
Searching...
No Matches
length_unit.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
12 namespace style_sheets {
66 enum class length_unit {
72 inches,
74 pixels,
76 points,
78 picas,
80 element,
84 chase,
96 percent,
97 };
98 }
99 }
100}
101
105};
length_unit
The length_unit enum class specifies the units for xtd::forms::style_sheets::length.
Definition length_unit.h:66
@ viewport_height
Defines a viewport_height unit. Relative to 1% of the height of the viewport.
@ points
Defines points unit (1pt = 1/72 of 1in).
@ viewport_width
Defines a viewport_width unit. Relative to 1% of the width of the viewport.
@ percent
Defines a percent unit. Relative to the parent element.
@ inches
Defines a inches unit (1in = 96px = 2.54cm).
@ root_element
Defines a root_element unit. Relative to font-size of the root elementRelative to font-size of the ro...
@ viewport_min
Defines a viewport_min unit. Relative to 1% of viewport's smaller dimension.
@ millimeters
Defines a millimeters unit.
@ element
Defines a element unit. Relative to the font-size of the element (2em means 2 times the size of the c...
@ viewport_max
Defines a viewport_min unit. Relative to 1% of viewport's larger dimension.
@ element_x_height
Defines a element_x_height unit. Relative to the x-height of the current font (rarely used).
@ picas
Defines a picas unit (1pc = 12 pt).
@ chase
Defines a chase unit. Relative to width of the "0" (zero).
@ pixels
Defines pixels unit (1px = 1/96th of 1in).
@ centimeters
Defines a centimeters unit.
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
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