I have a pretty basic initial docking layout:
I then add, in code a tool window docked to the left. What I would like to do then is to dock another toolwindow above the tabbed mdi area, but have it only stretch the width of the control minus the left toolwindow width. If I dock with a direction of "Top", the toolwindow stretches the whole width of the control and the toolwindow on the left gets shifted down. I tried passing the Workspace as the relative docksite to the .Dock method, but the result is the same. I can do this interactively by dragging my toolwindow over the document area and choosing the top icon from the docking diamond - just can't figure out how to do that in code.
So I guess my question is what's the trick to this kind of "inner docking"?
<dock:DockSite x:Name="_DockSite">
<dock:Workspace x:Name="_Workspace">
<dock:TabbedMdiHost x:Name="_MdiHost">
</dock:TabbedMdiHost>
</dock:Workspace>
</dock:DockSite>
So I guess my question is what's the trick to this kind of "inner docking"?
RS