Alignment Enum
Refers to the alignment of an element, or content, in its parent.
This encodes both a vertical and horizontal alignment.
Left
,HorizontalCenter
,Right
specify horizontal alignmentTop
,VerticalCenter
,Bottom
specify vertical alignment
Location
- Namespace
- Fuse.Elements
- Package
- Fuse.Elements 2.9.1
Possible Values
- Default
-
Default alignment
- Left
-
Aligns element to the left.
- HorizontalCenter
-
Centers element horizontally.
- Right
-
Aligns element to the right.
- Top
-
Aligns element to the top.
- VerticalCenter
-
Centers element vertically.
- Bottom
-
Aligns element to the bottom.
- TopLeft
-
Aligns element to the top left corner.
- TopCenter
-
Centers element horizontally and aligns it to the top.
- TopRight
-
Aligns element to the top right corner.
- CenterLeft
-
Centers element vertically and aligns it to the left.
- Center
-
Centers element both horizontally and vertically.
- CenterRight
-
Centers element vertically and aligns it to the right.
- BottomLeft
-
Aligns element to the bottom left corner.
- BottomCenter
-
Centers element horizontally and aligns it to the bottom.
- BottomRight
-
Aligns element to the bottom right corner.
Interface of Alignment
Alignment - Alignment : Alignment uno
Alignment != Alignment : bool uno
Alignment & Alignment : Alignment uno
Alignment ^ Alignment : Alignment uno
Alignment == Alignment : bool uno
Alignment | Alignment : Alignment uno
Bottom : Alignment uno
Aligns element to the bottom.
BottomCenter : Alignment uno
Centers element horizontally and aligns it to the bottom.
BottomLeft : Alignment uno
Aligns element to the bottom left corner.
BottomRight : Alignment uno
Aligns element to the bottom right corner.
Center : Alignment uno
Centers element both horizontally and vertically.
CenterLeft : Alignment uno
Centers element vertically and aligns it to the left.
CenterRight : Alignment uno
Centers element vertically and aligns it to the right.
Default : Alignment uno
Default alignment
HasFlag(Alignment) : bool uno
HorizontalCenter : Alignment uno
Centers element horizontally.
Left : Alignment uno
Aligns element to the left.
Right : Alignment uno
Aligns element to the right.
Top : Alignment uno
Aligns element to the top.
TopCenter : Alignment uno
Centers element horizontally and aligns it to the top.
TopLeft : Alignment uno
Aligns element to the top left corner.
TopRight : Alignment uno
Aligns element to the top right corner.
VerticalCenter : Alignment uno
Centers element vertically.