Posted 15 years ago
by Michael Fooks
-
Software Engineer,
Automated Positioning Systems
Version: 9.1.0505
I would like to be able to hide or show the window based on a specific UI Behaviour.
Visibility="Hidden" and IsEnabled="False" do not seem to work on a ToolWindow. Is this a Bug?
For Example:
<controls:FwDockSite x:Name="CentreWorkspaceRegionPanel" Grid.Row="0" Background="Transparent">
<docking:Workspace>
<docking:TabbedMdiHost>
</docking:TabbedMdiHost>
</docking:Workspace>
<docking:DockSite.AutoHideRightContainers>
<docking:ToolWindowContainer x:Name="RightWorkspaceRegionPanel">
<controls:FwSearchWindow Visibility="Hidden" IsEnabled="False" Title="Test" CanAttach="False" CanAutoHide="True" CanBecomeDocument="False" CanClose="False" CanDockBottom="False" CanDockLeft="False" CanDockRight="True" CanDockTop="False" CanDrag="False" CanRaft="False" HasTitleBar="True">
</controls:FwSearchWindow>
</docking:ToolWindowContainer>
</docking:DockSite.AutoHideRightContainers>
</controls:FwDockSite>
Visibility="Hidden" and IsEnabled="False" do not seem to work on a ToolWindow. Is this a Bug?
For Example:
<controls:FwDockSite x:Name="CentreWorkspaceRegionPanel" Grid.Row="0" Background="Transparent">
<docking:Workspace>
<docking:TabbedMdiHost>
</docking:TabbedMdiHost>
</docking:Workspace>
<docking:DockSite.AutoHideRightContainers>
<docking:ToolWindowContainer x:Name="RightWorkspaceRegionPanel">
<controls:FwSearchWindow Visibility="Hidden" IsEnabled="False" Title="Test" CanAttach="False" CanAutoHide="True" CanBecomeDocument="False" CanClose="False" CanDockBottom="False" CanDockLeft="False" CanDockRight="True" CanDockTop="False" CanDrag="False" CanRaft="False" HasTitleBar="True">
</controls:FwSearchWindow>
</docking:ToolWindowContainer>
</docking:DockSite.AutoHideRightContainers>
</controls:FwDockSite>