Hi,
How to restrict the resizing of the toolwindow in Docksite or the docksite.
See Belowed example.
<Grid>
<docking:DockSite x:Name="basedocksite">
<docking:Workspace>
<Grid><Grid.RowDefinitions><RowDefinition Height="*"></RowDefinition><RowDefinitionHeight="Auto"></RowDefinition></Grid.RowDefinitions>
<docking:DockSitex:Name="docksite1" Grid.Row="0">
<docking:ToolWindowContainer><docking:ToolWindow Title="SAMPLE1"></docking:ToolWindow></docking:ToolWindowContainer>
</docking:DockSite>
<docking:DockSite Grid.Row="1" x:Name="docksite2">
<docking:ToolWindowContainer Height="70"><docking:ToolWindowTitle="SAMPLE2"></docking:ToolWindow></docking:ToolWindowContainer>
</docking:DockSite>
</Grid>
</docking:Workspace>
</docking:DockSite></Grid>
My above sample consist of basedockiste and two its child docksites(docksite1,docksite2).
I am linking the docksite2 with the basedocksite.As i run the appllication,my main window consist of two toolwindows displayed in respective rows.
I am dragging the toolwindow from the docksite2 and dockguide for the base docksite will be displayed and i am docking that toolwindow from the docksite2 into basedocksite at the top direction after that a splitter will come b/w docked toolwindow and the docksite1 toolwindow.
Problem1. Can i hide this splitter ?
Problem2. Now i can resize the toolwindow that is docked in the base docksite with the help of the splitter.So can i restrict the size to which it should not resize.
Means can i restrict the docked toolwindow in the basedocksite height to 100or any fix value and this docked toolwindow can not resize below the height of 100.
[Modified 13 years ago]