Alignment
Namespace: Hex1b.Widgets
Assembly: Hex1b.dll
Specifies alignment within a container. Can be combined using flags.
[Flags]
public enum AlignmentFields
Bottom
Align to the bottom edge vertically.
Returns: Alignment
Bottom = 16BottomCenter
Center horizontally at the bottom.
Returns: Alignment
BottomCenter = HCenter | BottomBottomLeft
Align to the bottom-left corner.
Returns: Alignment
BottomLeft = Left | BottomBottomRight
Align to the bottom-right corner.
Returns: Alignment
BottomRight = Right | BottomCenter
Center both horizontally and vertically.
Returns: Alignment
Center = HCenter | VCenterHCenter
Center horizontally.
Returns: Alignment
HCenter = 4Left
Align to the left edge horizontally.
Returns: Alignment
Left = 1LeftCenter
Center vertically on the left.
Returns: Alignment
LeftCenter = Left | VCenterNone
No alignment specified (defaults to top-left).
Returns: Alignment
None = 0Right
Align to the right edge horizontally.
Returns: Alignment
Right = 2RightCenter
Center vertically on the right.
Returns: Alignment
RightCenter = Right | VCenterTop
Align to the top edge vertically.
Returns: Alignment
Top = 8TopCenter
Center horizontally at the top.
Returns: Alignment
TopCenter = HCenter | TopTopLeft
Align to the top-left corner.
Returns: Alignment
TopLeft = Left | TopTopRight
Align to the top-right corner.
Returns: Alignment
TopRight = Right | TopVCenter
Center vertically.
Returns: Alignment
VCenter = 32