Home Forums WinForms controls Other WinForms controls Detecting which docked windows are visible or change of stat Reply To: Detecting which docked windows are visible or change of stat

User (Old forums)
Member
Post count: 23064

There is a StateChanged event on ToolWindow that is raised whenever the ToolWindow’s state changes (e.g. from Docked to Floating to AutoHide).

As for knowing when the user clicked on the X, this will toggle the ToolWindow’s Visible property and you’ll get a VisibleChanged event in that case.

Hope this helps!

Pascal

Imported from legacy forums. Posted by Pascal (had 203 views)