Hi,
We have one requirement where we have a ToolWindowContainer having 3 tool windows. Our requirement is that we do not want to allow ToolWindow's to be draged/moved - we only want to allow the whole container to moved and docked - not the individual TollWindow's.
And, also would like to apply properties like (CanAttach="False" CanDrag="True" HasOptions="True" CanClose="True" CanAutoHide="True" "CanBecomeDocument="False" CanDockLeft="False" CanDockTop="False" CanDockRight="True" CanDockBottom="False") to the ToolWindowContainer.
Please let know - how to achieve this. Our current xaml looks like following - which we need to modify for our requirement - please let know your inputs on this.
<docking:ToolWindowContainer x:Name="rightTreeContainer" docking:DockSite.ControlSize="75,75">
<docking:ToolWindow x:Name="tree1" Title="Tree1"
CanAttach="False" CanDrag="True" HasOptions="True" CanClose="True" CanAutoHide="True"
CanBecomeDocument="False"
CanDockLeft="False" CanDockTop="False" CanDockRight="True" CanDockBottom="False">
</docking:ToolWindow>
<docking:ToolWindow x:Name="tree2" Title="Tree2"
CanAttach="False" CanDrag="True" HasOptions="True" CanClose="True" CanAutoHide="True"
CanBecomeDocument="False"
CanDockLeft="False" CanDockTop="False" CanDockRight="True" CanDockBottom="False">
</docking:ToolWindow>
<docking:ToolWindow x:Name="tree3" Title="Tree3"
CanAttach="False" CanDrag="True" HasOptions="True" CanClose="True" CanAutoHide="True"
CanBecomeDocument="False"
CanDockLeft="False" CanDockTop="False" CanDockRight="True" CanDockBottom="False">
</docking:ToolWindow>
</docking:ToolWindowContainer>
Thanks,
Piyush