![Avatar](https://secure.gravatar.com/avatar/b8f3933d28b35f348702004683851d4b.jpg?s=64&d=identicon&r=g)
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.