How to stop Wpf Tabcontrol to unload Visual tree on Tab change

Solution 1:

You can find two different approaches to prevent this in this StackOverflow question:

  • WPF TabControl - how to preserve control state within tab items (MVVM pattern)

I recommend:

  • Keeping the WPF Tab Control from destroying its children