Skip to main content

Dock Enum

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

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v23.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