Enum GenericAlignment
Specifies content alignment.
[Flags]
public enum GenericAlignment
Fields
Bottom = 1024
Content is vertically aligned at the bottom.
BottomLeft = 1024
Content is vertically aligned at the bottom, and horizontally aligned on the left.
BottomRight = Right | Bottom
Content is vertically aligned at the bottom, and horizontally aligned on the right.
Center = CenterHorizontal | CenterVertical
Content is aligned at the center.
CenterHorizontal = 256
Content is horizontally aligned on the center.
CenterRight = Right | CenterVertical
Content is vertically aligned at the center, and horizontally aligned on the right.
CenterVertical = 2048
Content is vertically aligned at the center.
Invalid = -1
A symbolic name for an invalid alignment value which can be assumed to be different from anything else.
Left = 0
Content is horizontally aligned on the left.
Not = 0
Content is horizontally aligned on the left or vertically aligned at the top.
Right = 512
Content is horizontally aligned on the right.
Top = 0
Content is vertically aligned at the top.
TopLeft = 0
Content is vertically aligned at the top, and horizontally aligned on the left.
TopRight = 512
Content is vertically aligned at the top, and horizontally aligned on the right.
Remarks
This enumeration supports a bitwise combination of its member values.