Add DocumentWindow to specific container

Docking/MDI for WPF Forum

Posted 12 years ago by Benjamin Ernst
Version: 11.2.0552
Avatar

Hi,

I'd like to add a (new) DocumentWindow to a specific DockingWindowContainer. How can I do so?

Cheers
Benjamin Ernst

Comments (2)

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

Hi Benjamin,

After the DocumentWindow is registered with the DockSite (by using the constructor overload that takes a DockSite or adding the window to the DockSite.DocumentWindows collection), you can call MoveToMdi passing the TabbedMdiContainer that you'd like to add it to. There are not any other DockingWindowContainers that support DocumentWindows that you can add to.


Actipro Software Support

Posted 12 years ago by Benjamin Ernst
Avatar

Hi,

Thanks a lot. I did not notice that DockingWindowContainer is abstract and TabbedMdiContainer is a sub-class of it. Using the mentioned method works like a charm.

Cheers
Benjamin Ernst

The latest build of this product (v24.1.1) 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.