Set the docking position of DockingWindow

Docking/MDI for WPF Forum

Posted 3 years 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 3 years 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 (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.