Enum GridLayout.Alignment
Defines the alignment options for controls within grid cells.
Assembly: MicroLayout.dll
View Source
public enum GridLayout.Alignment
Fields
Left
Aligns the control to the left edge of its allocated grid cell space, maintaining its height and centering it vertically.
View Source
Left = 0
Top
Aligns the control to the top edge of its allocated grid cell space, maintaining its width and centering it horizontally.
View Source
Top = 1
Right
Aligns the control to the right edge of its allocated grid cell space, maintaining its height and centering it vertically.
View Source
Right = 2
Bottom
Aligns the control to the bottom edge of its allocated grid cell space, maintaining its width and centering it horizontally.
View Source
Bottom = 3
Center
Centers the control within its allocated grid cell space horizontally and vertically, maintaining its original size.
View Source
Center = 4
Stretch
Stretches the control to fill its entire allocated grid cell space, overriding its original size.
View Source
Stretch = 5