I have an issue with using a non-modal ChildWindow. It seems to lose and gain focus when clicking on the window. This is most noticable with a selected CheckBox in the ChildWindow. (I can post some XAML for the reproduction if needed).
This change in WindowContainer.cs fixes the issue.
This change in WindowContainer.cs fixes the issue.
private void SetActiveWindow( WindowControl windowControl )
{
foreach( WindowControl window in this.Children )
{
if ( window != windowControl )
{
window.SetIsActiveInternal( false );
}
}
windowControl.SetIsActiveInternal( true );
}