How dock tool window as document window programmatically

Docking/MDI for WPF Forum

Posted 7 years ago by Roger Rong
Version: 10.1.0521
Avatar

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?

Thanks.

Comments (2)

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

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 7 years ago by Roger Rong
Avatar

Thanks for your quick responce. This helps. :)

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.