May 6, 2010 at 9:12 AM
Edited May 6, 2010 at 9:15 AM
The xaml code is like this:
<av:DockableContent Title="content1" x:Name="c1">
<av:DockableContent Title="content2" x:Name="c2">
open content 1
open content 2
and the two buttons just call the DockingManager.Show method in their event handlers to open the DockableContent.
The two DockableContents defined in the XAML are ranged vertically.
So if I close content1 and then click the "open content 1" button to reopen the closed DockableContent, I would expect it to be beyond content2 just as it was before I closed it.
But actually, the reopened content1 will be placed in the left side of the manager, and that makes the two DockableContents in horizontal order.
I guess this is because when content1 is being closed, its container--the DockablePane gets closed too(because it has no items left)
Thanks for the AvalonDock library!
Looking forward to the new release!
And of course, hope this problem can be fixed!