Category / Section
How to know which docked control is active in WinForms Docking Manager?
1 min read
Active control
The DockingManager.ActiveControl property is used to determine which docked control is currently in active state.
C#
// In any event handler (eg:Button_Click) this.dockingManager1.ActiveControl // Returns the active Control as an instance of class Control
VB
' In any event handler (eg:Button_Click) Me.DockingManager1.ActiveControl 'Returns the active Control as an instance of class Control