
I have the standard SplitContainer (copied from your sample code) with the main Workspace on the left and the ToolWindowContainer on the right (for the Properties grid). No matter how big the container, the right always defaults to a size that is too small. Setting MinWidth does not seem to matter. How can I set the size of the two sections of the SplitContainer?
Here is my xaml:
Here is my xaml:
<docking:SplitContainer>
<docking:Workspace Name="MainWorkspace">
<docking:TabbedMdiHost >
<docking:TabbedMdiContainer Name="MdiContainer" Loaded="MdiContainer_Loaded" SelectionChanged="MdiContainer_SelectionChanged">
<docking:ToolWindow Name="SomeTool" Title="Some Tool" CanClose="false" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"></docking:ToolWindow>
</docking:TabbedMdiContainer>
</docking:TabbedMdiHost>
</docking:Workspace>
<docking:ToolWindowContainer MinWidth="275" HorizontalAlignment="Stretch">
<docking:ToolWindow Title="Properties">
<propgrid:PropertyGrid
HorizontalAlignment="Stretch"
Margin="0,0,0,0"
Name="PropertiesGrid"
VerticalAlignment="Stretch"
>
</propgrid:PropertyGrid>
</docking:ToolWindow>
<docking:ToolWindow Title="Tool Window 2" />
</docking:ToolWindowContainer>
</docking:SplitContainer>