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