TabbedMdiContainer adding DocumentWindow from Model

Docking/MDI for WPF Forum

Posted 4 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 4 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 4 years ago by Peter Treier

Thanks for this hint!

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.