title: How to switch ribbon tab programmatically?
body: <p>I have a ribbon in my view named 'ribbon' that have 2 tabs as below sample codes. I want Button1 when clicked will open Tab2 and vice versa. How would I do this?</p>
  
  <pre><code>&lt;ribbon:Ribbon x:Name="ribbon" HelpPaneContent="{x:Static data:WordModel.Help}"&gt;
      &lt;ribbon:RibbonTab Header="Tab1" ... &gt;
          &lt;ribbon:RibbonGroup x:Name="Button1" &gt;
              &lt;ribbon:RibbonButton Clicked="SwitchToTab2" /&gt;
          &lt;/ribbon:RibbonGroup&gt;
      &lt;/ribbon:RibbonTab&gt;
  
      &lt;ribbon:RibbonTab Header="Tab2" ... &gt;
          &lt;ribbon:RibbonGroup x:Name="Button2" &gt;
              &lt;ribbon:RibbonButton Clicked="SwitchToTab1" /&gt;
          &lt;/ribbon:RibbonGroup&gt;
      &lt;/ribbon:RibbonTab&gt;
  ... 
  &lt;/ribbon:Ribbon&gt;
  </code></pre>