Enum DockStyle
Specifies the position and manner in which a control is docked inside the container.
public enum DockStyle
Fields
Bottom = 2
The control's bottom edge is docked to the bottom of its containing control.
Fill = 5
All the control's edges are docked to the all edges of its containing control and sized appropriately.
Left = 3
The control's left edge is docked to the left edge of its containing control.
None = 0
The control is not docked and is positioned absolutely using its 'Bounds' property.
Right = 4
The control's right edge is docked to the right edge of its containing control.
Top = 1
The control's top edge is docked to the top of its containing control.