How dock tool window as document window programmatically

Docking/MDI for WPF Forum

Posted 12 years ago by Roger Rong
Version: 10.1.0521

Hi there,

We are using an old version (version 2010.1.521).  We need to dock a tool window as document when it is started. Anyone could give an example how to do that programmatically?


Comments (2)

Answer - Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Roger,

There is a DockingWindow.MoveToMdi() method that you can use to dock your ToolWindow as a document programmatically. The method is overloaded so you can specify the Docksite, or the TabbedMdiContainer and the direction (note this last one should only be called when tabbed MDI is in use).

Actipro Software Support

Posted 12 years ago by Roger Rong

Thanks for your quick responce. This helps. :)

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.