How do I bind a TabControl to a collection of ViewModels?
This isn’t MVVM. You should not be creating UI elements in your view model. You should be binding the ItemsSource of the Tab to your ObservableCollection, and that should hold models with information about the tabs that should be created. Here are the VM and the model which represents a tab page: public sealed class … Read more