Hello, I have this xaml:
<docking:RadDocking.DocumentHost> |
<docking:RadSplitContainer x:Name="splitContainer1"> |
<docking:RadPaneGroup x:Name="mapGroup" docking:RadDocking.SerializationTag="mapGroup"> |
<!-- The Maps area --> |
</docking:RadPaneGroup> |
</docking:RadSplitContainer> |
</docking:RadDocking.DocumentHost> |
I add RadDocumentPanes like this:
if (rbRight.IsChecked == true) |
{ |
mapGroup.AddItem(newPane, DockPosition.Left); |
} |
else |
{ |
mapGroup.AddItem(newPane, DockPosition.Bottom); |
} |
Regardless of the DockPosition, the new pane is arranged tiled vertically to the right of the original pane.
What am I doing wrong?
(I don't know what could have changed, but this code was working earlier today -- the new pane was arranged below the initial pane.)