Toolwindow close / open and the position

Docking/MDI for WPF Forum

Posted 9 years ago by Arthur Damen
Version: 9.1.0507
Avatar
Hi,
when i close a certain toolwindow (in code) by using the .close function and I want to get it back by using the .Open function.

Than it is positioned I think at the back of the mdi document tree.
Is it possible to place it at a certain position??

Comments (3)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Arthur,

We don't currently have a method you can call to open it in a specific location in the MDI hosts. But given a ToolWindow, you may be able to get the TabbedMdiContainer ancestor and manually move the ToolWindow to the correct index (via the TabbedMdiContainer.Items collection).

In the upcoming 2009.2 release, we have added tracking to the Tabbed MDI area. So if you close a document and reopen it, then it will be placed in the same location is was previously in.


Actipro Software Support

Posted 9 years ago by Bjørnar Sundsbø - Norway
Avatar
Does this also apply to DockSite/ToolWindowContainer/ToolWindow?


Bjørnar Sundsbø

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes tool windows have always restored back to their previous location after being opened somewhere in the past.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) 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.