Is there any way to display specific floating document window on top?

Docking/MDI for WPF Forum

Posted 1 year ago by Yuki
Version: 23.1.0
Avatar

Hello,

I'm using DockSite with FloatingWindowShowInTaskBarMode = "Default".

I'd like to display specific floating document window on top.

Is there any way?

Comments (4)

Posted 1 year ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Do you mean that you always wish for the floating tabbed MDI document window to appear on top of the main app Window, even when it isn't the active window?

If so, that is accomplished by the floating host Window having its Owner set as the main Window.  We set that when the floating DockHost only contains tool windows, or if DockSite.FloatingWindowShowInTaskBarMode == Never.


Actipro Software Support

Posted 1 year ago by Yuki
Avatar

Hello,

Thank you for your reply.

Where and How can I set Owner property to floating window?

I checked the following.

  • DockSite.InitializeFloatingWindow()
    --> Owner is already set to main app window. (Later, it seems to be set to null)
  • DockSite.FloatingWindowOpening
    --> I'm not sure how to get target window.
Posted 1 year ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

While you can set Owner in InitializeFloatingWindow, it will be overriden by our logic mentioned in the previous post related to DockSite.FloatingWindowShowInTaskBarMode.  Owner can be updated at different times in the docking lifecycle as layouts change too.  Thus there is no way to set it manually other than to use that DockSite property.


Actipro Software Support

Posted 1 year ago by Yuki
Avatar

Hello,

Thank you for your reply.

I understood it.

[Modified 1 year ago]

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.