Articles in this section
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

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied