Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1089
Binding ContentPanes to a collection.
posted

How would one go about binding the tabs ( ContentPanes in DocumentContentHost/SplitPane/TabGroupPane? ) to collection (ObservableCollection<ViewModel>)  exsposed as a property of the DataContext?  Then apply correct DataTemplate dynamicaly based on the ContentPane's datacontext of the ViewModel.

Essentially bind to the right  'Content' property and apply the right datatemplate  ( which I can't seem to find ) ?