Skip to main content

DockLayoutManager.ActiveDockItem Property

Gets or sets the active dock item. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking


public BaseLayoutItem ActiveDockItem { get; set; }

Property Value

Type Description

A BaseLayoutItem object that is the active dock item.


An active dock item is the item that has been clicked or contains a focused control.

Before a dock item is activated, the DockLayoutManager.DockItemActivating event fires. It allows you to prevent item activation. The notification DockLayoutManager.DockItemActivated event fires after the item has been activated.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ActiveDockItem property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also