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
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
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.
Thanks for this hint!
Please log in to a validated account to post comments.