Can I set the direction of a ToolWindow, create it, but not open it?

Docking/MDI for WPF Forum

Posted 6 years ago by Alan McCormick
Version: 13.1.0581
Avatar

I want to create a tool window in a tabbed mdi layout such that when Activate is called it will be docked on the left. I do not want to display it yet however. Is it possible do this?

Calling .Dock(..) displays it immediately. 

Comments (1)

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

Hi Alan,

Sorry but no, you'd need to call Dock() when you want it displayed.  The only real alternative would be to initially have it in the XAML layout and then close it prior to your app starting.  That way it would sort of know where to restore to if Activate() is called later.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.