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

Dock Enum

Contains values that specify how an element is positioned within its parent.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.2.dll

NuGet Package: DevExpress.Wpf.LayoutControl

#Declaration

public enum Dock

#Members

Name Description
None

An item is not docked. The item is displayed at the left top corner of its parent.

Left

An item is docked at the left side of its parent.

Top

An item is docked at the top side of its parent.

Right

An item is docked at the right side of its parent.

Bottom

An item is docked at the bottom side of its parent.

Client

An item fills the remaining part of its parent, not occupied by other items.

#Remarks

In a DockLayoutControl, an item can be docked to the control’s top, left, bottom or right edge or fill its central area. Use the DockLayoutControl.Dock attached property to specify how the item is positioned.

See Also