Add DocumentWindow to specific container

Docking/MDI for WPF Forum

Posted 8 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 8 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 8 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 (v2019.1 build 0683) 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.