Home › Forums › WPF controls › Other WPF controls › AvalonDock: Keep floating windows visible when minimizing main application
Is it possibe to keep the floating windows visible(maximized) when minimizing the main application?
By default, the LayoutFloatingWindowControl will set its owner. So when the owner is minimized, the owned window is also minimized.
To prevent this, you could go in file Xceed.Wpf.AvalonDock/Controls/LayoutFloatingWindowControl.cs,
in method OnLoaded
and remove the line :
this.SetParentToMainWindowOf( Model.Root.Manager );
This way, your FloatingWindow won’t have an owner and shouldn’t be minimized when the main window is minimized.