hi,
I have a DockPaneArea (#1) docked to the top. Now when I dynamically add a new DockPaneArea (#2) to the right, it's always positioned under the DockPaneArea #1. How do I make the DockPaneArea #2 dock to the right and has the same height as the DockAreaPane#1?
I need to make it act like when you re-open the closed Solution Explorer pane in Visual Studio 2008, it always dock to the right and has the same height of the main center panel, not under it.
Thanks in advance.
Instead of adding the DockAreaPane to the end of the collection of the dock manager, try inserting it into index 0 in the DockAreas collection of the dock manager. The will affect which dock area takes precedence when laying out its controls.