Hi,
I have a TabControl whose ItemsSource is bound to an OberservableCollection. By default the TabControl loads the content a newly selected TabItem when the user selects that item. As the DataTemplate of my TabItem is somewhat complex and takes some time to fully load, each time the user selects a tab there is a noticable lag until the content of the tab is shown. The TabControl also seems to discard tabs that are already loaded but currently not shown, as the lag also occurs when you select a tab that has already been used before.
Is there any way to preload the content of all TabItems when the application gets started / loads a new file? (increasing the startup time or file load time isn't a problem)