Skip to main content
A newer version of this page is available. .

DockLayoutControl Class

Represents a control container that arranges its child items, docking them to its edges or making them occupy the remaining area of the container.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v19.1.dll

Declaration

public class DockLayoutControl :
    LayoutControlBase,
    IDockLayoutControl,
    ILayoutControlBase,
    IScrollControl,
    IPanel,
    IControl,
    ILayoutModelBase,
    IDockLayoutModel

Remarks

The DockLayoutControl docks its child items according to the DockLayoutControl.Dock attached property. An item within this control can be docked to any of the control’s four edges or occupy the remaining empty space.

DockLayoutControl_Dock

The DockLayoutControl supports item resizing. To enable this feature, use the DockLayoutControl.AllowHorizontalSizing and DockLayoutControl.AllowVerticalSizing attached properties.

See Dock Layout Control to learn more.

Examples

The following code snippets (auto-collected from DevExpress Examples) contain references to the DockLayoutControl class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

See Also