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.DockTarget Property

Gets a Dock Item to which the current Dock Item is to be docked.

Namespace: DevExpress.Xpf.Docking.Base

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

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public BaseLayoutItem DockTarget { get; }

#Property Value

Type Description
BaseLayoutItem

A BaseLayoutItem to which the current Dock Item is to be docked.

#Remarks

The DockTarget property returns null for all operation types except for docking to other Dock Items. If a Dock Item is docked via a double mouse click or unchecking the auto-hide pin button, the DockTarget property returns null as well.

Use the DockOperationStartingEventArgs.DockOperation property to identify the current operation type.

See the DockLayoutManager.DockOperationStarting event to learn more.

See Also