Set the docking position of DockingWindow

Docking/MDI for WPF Forum

Posted 1 year ago by Sunshine - Appeon
Version: 21.1.1

This is a example:

I want to use code to dock the "Output" window below the editor instead of below the entire interface.

How to achieve this in mvvm mode? Thanks!

Comments (1)

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


For a more complicated scenario like that when using MVVM, you'd have to handle the DockSite.WindowDefaultLocationRequested event (described here) to tell Output to dock under the tabbed MDI area (TabbedMdiHost) by default via its event arguments.

Actipro Software Support

The latest build of this product (v22.1.3) was released 16 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.