TabbedMdiContainer adding DocumentWindow from Model

Docking/MDI for WPF Forum

Posted 6 months ago by Peter Treier
Version: 19.1.0685
Avatar

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?

Peter

Comments (2)

Answer - Posted 6 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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 6 months ago by Peter Treier
Avatar

Thanks for this hint!

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