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

LayoutPanel.DockItemState Property

Gets whether the panel is docked, auto-hidden, floating, or closed. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public DockItemState DockItemState { get; }

#Property Value

Type Description
DockItemState

A DockItemState enumeration value that specifies whether the panel is docked, auto-hidden, floating, or closed.

Available values:

Name Description
Undefined

The panel does not belong to any group.

AutoHidden

The panel is auto-hidden.

Closed

The panel is closed.

Docked

The panel is docked.

Floating

The panel is floating.

#Remarks

The DockItemState property gets whether the current panel is docked, auto-hidden, floating, or closed. If the panel does not belong to any group (see BaseLayoutItem.Parent), the DockItemState property returns Undefined.

See Also