This enumeration is used to specify how the default layout manager should treat a particular control. You can set the Control.Dock property to one of these values, to ensure that the control is attached to the specified edge of the parent, expanded to the full width and/or height, or resized as the parent changes its layout. public enum DockStyle { None = 0 , Top = 1 , Bottom = 2 , Left = 3 , Right = 4 , Fill = 5 } HierarchySystem.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable , System.IConvertible) DockStyle Returned ByControl.Dock Passed ToControl.Dock |