Skip to main content
A newer version of this page is available. .

DockLayoutManager.ActiveDockItem Property

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

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v19.1.dll

Declaration

public BaseLayoutItem ActiveDockItem { get; set; }

Property Value

Type Description
BaseLayoutItem

A BaseLayoutItem object that is the active dock item.

Remarks

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 snippets (auto-collected from DevExpress Examples) contain references to the ActiveDockItem property.

Note

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