For some reason I am having a heck of a time getting my TabControl
to display properly when binding the ItemsSource
to a ObservableCollection
I ended up using a ContentControl
with a TabControl
data template (like the original tutorial project). Here is the xaml code I ended up with. I did not change the code-behind from the original sample project to make this work. The ContentControl
is in my MainWindow.xaml and the other two pieces of code were in a ResourceDictionary
.