Home Forums WPF controls Other WPF controls AvalonDock: Keep floating windows visible when minimizing main application

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • TimKras
    Participant
    Post count: 1
    #44837 |

    Is it possibe to keep the floating windows visible(maximized) when minimizing the main application?

    Fawzi [Xceed]
    Member
    Post count: 722

    Hi,

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.