With the following XAML, try to resize the left pane, than drag it and dock at the same place where it was.
<ad:DockingManager>
<ad:ResizingPanel>
<ad:ResizingPanel Orientation="Vertical">
<ad:DockablePane>
<ad:DockableContent/>
<ad:DockableContent />
</ad:DockablePane>
</ad:ResizingPanel>
<ad:DocumentPane><ad:DocumentContent/></ad:DocumentPane>
</ad:ResizingPanel>
</ad:DockingManager>
Notice:
1) If resized to be wider the pane width is reset to default when it is docked, but not always - there is a pattern to it. When you use left part of the central positioning overlay or the leftmost small positioning overlay it will keep it's size the first time you us the positioner and will resize to default all other times you drop the panel onto it.
To reproduce this behaviour:
- run the app with the XAML above
- resize the left panel to be bigger
- grab it and dock using leftmost positioner (notice that it keeps the width)
- repeat last two steps (notice that this time panel width is set to some default value), all subsequent repeats will result in resetting panel's width to default
- resize the left panel to be bigger
- grab it and dock using left part of the central positioner (notice that it kept the width)
- repeat the last two steps (width is reset) same for subsequent tries
- if you will resize and dock it using leftmost, then central, then leftmost, .... positioner it will always keep it's width as long as you use each positioner only once and than use the other one.
2) If the panel is resized to be smaller, the size is always preserved.
3) Same thing applies to vertical splitting.
4) Same happens when you dock the resized panel to the opposite side.