Fires after the active dock panel has been changed.
[DXCategory("Docking")] public event ActivePanelChangedEventHandler ActivePanelChanged
<DXCategory("Docking")> Public Event ActivePanelChanged As ActivePanelChangedEventHandler
The ActivePanelChanged event's data class is ActivePanelChangedEventArgs. The following properties provide information specific to this event:
|OldPanel||Gets the previously active dock panel.|
|Panel||Gets the processed dock panel. Inherited from DockPanelEventArgs.|
When end-users click anywhere within the dock panel, the dock panel becomes active. This can also be performed via code by assigning the desired dock panel to the docking manager's DockManager.ActivePanel property. In both cases the ActivePanelChanged event is raised. Handle this event if you need to perform actions in response to dock panels being activated. For instance, you can focus a specific control within the active dock panel or display explanatory information about the activated control.