Nested Toolwindows with Nested Docksites scenario.

Docking/MDI for WPF Forum

Posted 11 years ago by keshav bansal
Version: 12.2.0570
Avatar

Hi,

I am using the nested toolwindows scenario in belowed code.

In the Belowed code BaseDocksite consist of toolwindow named  BaseToolWindow and which again  have toolwindow named ToolWindow.

But When i float the inner toowindow named ToolWindow and then close the BaseToolwindow then its also closes the FLOATED toolwindow ie. Toolwindow.

<docking:DockSite x:Name="BaseDocksite">

<docking:ToolWindowContainer>

<docking:ToolWindow Title="BaseToolwindow">

<docking:DockSite x:Name="InnerDocksite">

<docking:ToolWindowContainer>

<docking:ToolWindow Title="Inner ToolWindow">

</docking:ToolWindow>

</docking:ToolWindowContainer>

</docking:DockSite>

</docking:ToolWindow>

</docking:ToolWindowContainer>

</docking:DockSite>

So please check it and what should be design so that the inner floated toolwidnow should not Close on closing the BaseToolwindow ?

Comments (1)

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

Hi Keshav,

You and your team also asked this same question in at least a couple other threads (this one, this one, etc.).  Please try not to repeat the same question in multiple threads as it makes it very difficult to track issues/requests.

When the outer tool window closes, it's removing its contained inner DockSite and thus any inner tool windows that were open from the inner DockSite will close as well.  That is by design and sorry but there is no way to change that.  If you don't want the rafted inner tool windows to close then you'd need to move them to another DockSite that is remaining open.


Actipro Software Support

The latest build of this product (v24.1.1) 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.