Posted 15 years ago
by Cameron MacFarland
-
Senior Software Engineer,
Orelogy Geotechnical
Version: 9.1.0506
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Using "UseHostedAutoHidePopups=false" on a docksite crashes on .NET 4.0 beta 2.
To reproduce, I've created a simple window to show the behaviour.
To reproduce, I've created a simple window to show the behaviour.
<Window x:Class="DotNet4DockingTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared"
xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking"
xmlns:themes="http://schemas.actiprosoftware.com/winfx/xaml/themes"
Title="MainWindow" Height="350" Width="525"
themes:ThemeManager.Theme="AeroNormalColor"
>
<!-- DockSite -->
<docking:DockSite
x:Name="dockSite"
UseHostedAutoHidePopups="False"
>
<docking:DockSite.AutoHideLeftContainers>
<docking:ToolWindowContainer>
<docking:ToolWindow Title="Tool Window 3" />
<docking:ToolWindow Title="Tool Window 4" />
</docking:ToolWindowContainer>
</docking:DockSite.AutoHideLeftContainers>
<docking:SplitContainer>
<!-- Workspace -->
<docking:Workspace>
<docking:TabbedMdiHost>
<docking:TabbedMdiContainer>
<docking:DocumentWindow Title="Document1.txt">
<TextBox Text="Moving a toolwindow will crash in .NET 4.0 Beta 2. So will opening an autohide toolwindow." />
</docking:DocumentWindow>
</docking:TabbedMdiContainer>
</docking:TabbedMdiHost>
</docking:Workspace>
<docking:ToolWindowContainer>
<docking:ToolWindow Title="Tool Window 1" />
<docking:ToolWindow Title="Tool Window 2" />
</docking:ToolWindowContainer>
</docking:SplitContainer>
</docking:DockSite>
</Window>