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

DockOperationStartingEventArgs.DockOperation Property

Gets the type of an operation that is processed within the DockLayoutManager.DockOperationStarting event.

Namespace: DevExpress.Xpf.Docking.Base

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

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public DockOperation DockOperation { get; }

#Property Value

Type Description
DockOperation

A DockOperation enumerator value that specifies the docking operation type.

Available values:

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.

#Remarks

When handling the DockLayoutManager.DockOperationStarting event, use the DockOperation property to identify which type of docking operation- dock, float, close, restore or auto-hide - is going to happen to a Dock Item. See the DockLayoutManager.DockOperationStarting event to learn more.

See Also