DockLayoutManager.ActiveDockItem Property
Gets or sets the active dock item. This is a dependency property.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Docking, DevExpress.Wpf.Navigation
Declaration
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.
Related GitHub Examples
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.