Back to Devexpress

Dock Enum

wpf-devexpress-dot-xpf-dot-layoutcontrol-b52dce0a.md

latest1.5 KB
Original Source

Dock Enum

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

Namespace : DevExpress.Xpf.LayoutControl

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

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public enum Dock
vb
Public Enum Dock

Members

NameDescription
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

Dock

DevExpress.Xpf.LayoutControl Namespace