Toggle AutoHide on a set of Tool Windows

Docking/MDI for WPF Forum

Posted 11 years ago by Kasper
Version: 12.2.0571
Avatar

Hi guys,

Quick question: I would like to toggle the AutoHide state on some of my Tool Windows, no matter where they are docked to and in which container. Is that possible? There is an AutoHide() method, but what's the reverse method for that? Also, I would prefer not to specify a side to hide to, since the user may have moved a specific window from one side to another. So what I really want is a method that clicks on the AutoHide button on each of the desired Tool Windows, I guess :)

Comments (2)

Answer - Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Kasper,

You could call the ToolWindow.Dock() method to restore it to a docked position.  The AutoHide() method without parameters should go to the closest side.


Actipro Software Support

Posted 11 years ago by Kasper
Avatar

Thank you, that seems to do the trick :)

The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.