Basically I'm stuck in the following scenario:
Shell.xaml, UserControl1.xaml, UserControl2.xaml, UserControl3.xaml (each has their own ViewModel which is extended from NotificationObject).
My ShellViewModel needs to be able to manage the TabControl and load in not only TabItems, but also the content that goes inside the TabItem as one of the UserControls, which need to be wired up to their corresponding ViewModels. I'm running into some issues
and I'm not sure how to wire this up appropriately following MVVM.
I'm using MEF, so I figure that should help me import/export. I'm not sure if this helps or not. Any advice as to how to accomplish this would be great.
One big decision is my ObservableCollection I have bound to the TabControl, should it be a collection of ViewModels or TabItems?