![Avatar](https://secure.gravatar.com/avatar/cc776c8b7e07123574b830ffea42fd0b.jpg?s=64&d=identicon&r=g)
when i undock a toolwindow and click on the main window i can see the titlebar of the toolwindow going to a lighter color, but the LostFocus event is not raised. when the toolwindow is docked in the main window everything works fine.
is this a bug and if not how can i determine when the undocked toolwindow loses focus?
is this a bug and if not how can i determine when the undocked toolwindow loses focus?
<Window x:Class="WpfDockingTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525" xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking">
<Grid>
<docking:DockSite HorizontalAlignment="Left" Name="dockSite1" VerticalAlignment="Top" Height="311" Width="503" >
<docking:ToolWindowContainer x:Name="NavigationContainer" docking:DockSite.ControlSize="200,400">
<docking:ToolWindow LostFocus="ToolWindow_LostFocus">
</docking:ToolWindow>
</docking:ToolWindowContainer>
</docking:DockSite>
</Grid>
</Window>