Back to Devexpress

DockManager.ActiveChildChanged Event

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockmanager-9f13789d.md

latest2.5 KB
Original Source

DockManager.ActiveChildChanged Event

Fires after the panel’s active child has been changed.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Docking")]
public event DockPanelEventHandler ActiveChildChanged
vb
<DXCategory("Docking")>
Public Event ActiveChildChanged As DockPanelEventHandler

Event Data

The ActiveChildChanged event's data class is DockPanelEventArgs. The following properties provide information specific to this event:

PropertyDescription
PanelGets the processed dock panel.

Remarks

A dock panel can serve as a container for other dock panels. In this case, the currently active dock panel is specified by its container panel’s DockPanel.ActiveChild property.

The ActiveChildChanged event fires in response to the container panel’s active child being changed. End-users can change the active child of a tab container by switching between its tabs. For split containers, they need to press the maximize button in its caption to maximize and activate a panel. These actions also be performed in code by setting the panel’s DockPanel.ActiveChild or DockPanel.ActiveChildIndex properties.

See Also

ActiveChild

DockManager Class

DockManager Members

DevExpress.XtraBars.Docking Namespace