Skip to main content

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.1.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