EasyLanguage Object Reference

DockStyle Enumeration

List of enumerated values that specify the position and manner in which a control is docked.

Docking a control to the edge of a container allows the control to always remain positioned flush against that edge, even when the container is resized.

If Left, Right, Top, or Bottom is selected, the specified and opposite edges of the control are resized to the size of the containing control's corresponding edges. If Fill is selected, all four sides of the control are resized to match the containing control's edges.

Namespace: elsystem.windows.forms

[ Expand All ]
Enumerated Values
  Name Value Description
Public property bottom

2

The control's bottom edge is docked to the bottom of its containing control.
Public property fill

5

All the control's edges are docked to the all edges of its containing control and sized appropriately.
Public property left

3

The control's left edge is docked to the left edge of its containing control.
Public property none

0

The control is not docked.
Public property right

4

The control's right edge is docked to the right edge of its containing control.
Public property top

1

The control's top edge is docked to the top of its containing control.
Inheritance Hierarchy

elsystem.Object

  elsystem.ELEnum

    elsystem.windows.forms.DockStyle