DekGenius.com
[ Team LiB ] Previous Section Next Section

DockStyleserializable

System.Windows.Forms (system.windows.forms.dll)enum

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
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable, System.IConvertible) DockStyle

Returned By

Control.Dock

Passed To

Control.Dock

    [ Team LiB ] Previous Section Next Section