How to Dock window(s) in a Floating Window?

Mar 21, 2011 at 1:36 PM

In Visual Studio, One can Float a Window(A), Float Another Window(B) and Dock A with(in) B, while they both are floating. How does one acheive this with AvalonDock? 

--

Regards,

ven.

 

 

 

 

Sep 25, 2011 at 12:43 PM

Ven -

Did you find a way to do this? I'd like to be able to do the same thing.

Thanks,

  J

Sep 25, 2011 at 6:54 PM

 

You would need to use another DockManager inside the (Floating and or Dockable)Pane, Similar to the one in your main page!

Sep 25, 2011 at 7:46 PM
SpiderMaster wrote:

 

You would need to use another DockManager inside the (Floating and or Dockable)Pane, Similar to the one in your main page!

Thanks for the response. Shouldn't this be handled by AvalonDock itself? These floating panes are those created by the framework!

  J

Oct 8, 2011 at 9:33 AM

I'm interested in this feature too and agree with jpek42 this should be handled by library itself.

Oct 8, 2011 at 10:22 AM
Edited Oct 8, 2011 at 10:26 AM
jpek42 wrote:
SpiderMaster wrote:

 

You would need to use another DockManager inside the (Floating and or Dockable)Pane, Similar to the one in your main page!

Thanks for the response. Shouldn't this be handled by AvalonDock itself? These floating panes are those created by the framework!

  J

Hmmm this would be a tricky question to answer! I would say it could be done how ever It would seem a lot easier if you were to use a pane with a docking manager inside it followed by your control!

If I had more time I would give it a go but have a play with this Idea and you may be able to programmatically find a way to handle this in the library!


Standard Window:

<Window note="shortened">   
   <ad:DockingManager Name="dockingManager" Margin="0,28,0,0">
       <ad:ResizingPanel Orientation="Vertical">
       <ad:DocumentPane>
       </ad:DocumentPane>
           <ad:DockablePane>
             <my:StatisticsPane />
           </ad:DockablePane>
       </ad:ResizingPanel>
   </ad:DockingManager>
</Window>

Proposed Dock-able Content:

<ad:DockableContent note="shortened">
   <Grid>   
     <ad:DockingManager Name="dockingManager" Margin="0,28,0,0">
         <ad:ResizingPanel Orientation="Vertical">
         <ad:DocumentPane>
         </ad:DocumentPane>
           <ad:DockablePane>
               <my:StatisticsPane />
           </ad:DockablePane>
       </ad:ResizingPanel>
     </ad:DockingManager>
   </Grid>
</ad:DockableContent>

Let me know how it goes :-)