Toolwindow close / open and the position

Docking/MDI for WPF Forum

Posted 14 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 14 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 14 years ago by Bjørnar Sundsbø - Norway
Avatar
Does this also apply to DockSite/ToolWindowContainer/ToolWindow?


Bjørnar Sundsbø

Posted 14 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 (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.