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

DockOperation Enum

Provides members to label different docking operation types.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public enum DockOperation

#Members

Name Description
Close

A target Dock Item is being closed.

Dock

A target Dock Item is being docked to a DockLayoutManager‘s edge or another Dock Item.

Float

A docked Dock Item is made floating.

Hide

A Dock Item is made auto-hidden.

Restore

A closed Dock Item is being restored (see the DockLayoutManager.ClosedPanels property to learn more).

Reorder

A target Dock Item is being re-arranged within its current container.

Resize

A Dock Item is being resized.

Move

A Dock Item is being moved.

#Related API Members

The following properties accept/return DockOperation values:

#Remarks

The DockOperation enumerator values are used within the DockLayoutManager.DockOperationStarting and DockLayoutManager.DockOperationCompleted events. Get the current DockOperationStartingEventArgs.DockOperation or DockOperationCompletedEventArgs.DockOperation property value to determine a type of a docking operation that is to be performed.

See the DockLayoutManager.DockOperationStarting event to learn more.

See Also