Posted 14 years ago
by Mary Fontana
-
Rudolph Technologies
I have a DockSite, with workspace on left and 2 tool window containers on right.
I would like to auto hide all tool windows in the 2 right tool window containers.
I am not sure how to use DockSite.AutoHideRightContainers to do what I want since I have 2 tool window containers on the right.
Do I need a nested docksite?
I have something like this:
<docking: DockSite ...>
<docking:SplitContainer Orientation="Horizontal" >
<docking: workspace>
....
</docking:workspace>
<docking:SplitContainer Orientation="Vertical" >
<!= RightTop Tools>
<docking:ToolWindowContainer>
<docking:ToolWindow x:Name="tool1">
</docking:ToolWindow>
<docking:ToolWindow x:Name="tool2">
</docking:ToolWindow>
</docking:ToolWindowContainer>
<!= RightBottom Tools>
<docking:ToolWindowContainer>
<docking:ToolWindow x:Name="tool3">
</docking:ToolWindow>
<docking:ToolWindow x:Name="tool4">
</docking:ToolWindow>
<docking:ToolWindow x:Name="tool5">
</docking:ToolWindow>
<docking:ToolWindow x:Name="tool6">
</docking:ToolWindow>
</docking:ToolWindowContainer>
</docking:SplitContainer >
</docking:SplitContainer >
</docking:DockSite>
I would like to auto hide all tool windows in the 2 right tool window containers.
I am not sure how to use DockSite.AutoHideRightContainers to do what I want since I have 2 tool window containers on the right.
Do I need a nested docksite?
I have something like this:
<docking: DockSite ...>
<docking:SplitContainer Orientation="Horizontal" >
<docking: workspace>
....
</docking:workspace>
<docking:SplitContainer Orientation="Vertical" >
<!= RightTop Tools>
<docking:ToolWindowContainer>
<docking:ToolWindow x:Name="tool1">
</docking:ToolWindow>
<docking:ToolWindow x:Name="tool2">
</docking:ToolWindow>
</docking:ToolWindowContainer>
<!= RightBottom Tools>
<docking:ToolWindowContainer>
<docking:ToolWindow x:Name="tool3">
</docking:ToolWindow>
<docking:ToolWindow x:Name="tool4">
</docking:ToolWindow>
<docking:ToolWindow x:Name="tool5">
</docking:ToolWindow>
<docking:ToolWindow x:Name="tool6">
</docking:ToolWindow>
</docking:ToolWindowContainer>
</docking:SplitContainer >
</docking:SplitContainer >
</docking:DockSite>