title: How to change Tab from TabControl in WPF without violating the MVVM pattern
body: <p>My WPF Windows contains a TabControl which displays content on different tabs. A click on the button below executes a method via ICommand interface / Binding. The called method generates text which is intended to be displayed in the second tab.</p>
  
  <p><img src="https://i.stack.imgur.com/zvPsX.png" alt="Application Mockup"></p>
  
  <p>How can I switch to the second tab on button click without violating the MVVM Pattern?</p>
  
  <p>I tried to bind the TabItem.IsSelected Property to something in my ViewModel but I wanted to use the other tabs (tab1) as well.</p>
  
  <p>Any thoughts?</p>