TabbedMdiContainer adding DocumentWindow from Model

Docking/MDI for WPF Forum

Posted 2 years ago by Peter Treier
Version: 19.1.0685

Good evening
I am looking for a way to add a DocumentWindow to a TabbedMdiContainer via binding.
But I can't find a property like 'ItemSource' on the TabbedMdiContainer?
Have I missed something?


Comments (2)

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

Hi Peter,

You never want to directly reference TabbedMdiContainer or ToolWindowContainer instances since those are transient objects.  Instead, you can bind to DockSite.DocumentItemsSource.  Our MvvmDocumentWindows QuickStart shows a very good example of doing MVVM binding for document creation.

Actipro Software Support

Posted 2 years ago by Peter Treier

Thanks for this hint!

The latest build of this product (v22.1.4) was released 15 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.