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

Docking/MDI for WPF Forum

The latest build of this product (v23.1.0) was released 2 months ago, which was before this thread was created.
Posted 30 days 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 29 days 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 27 days 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 26 days 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 25 days ago by Yuki
Avatar

Hello,

Thank you for your reply.

I understood it.

[Modified 25 days ago]

Add Comment

Please log in to a validated account to post comments.