Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.LayoutControl

#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.

#Example

#Inheritance

See Also