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

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 snippet (auto-collected from DevExpress Examples) contains a reference 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