title: How to set the active menu item in code using modern UI?
body: <p>I currently have a MainWindow containing a Modern UI MenuLinkGroup as in the following example:</p>
  
  <pre><code>&lt;mui:ModernWindow.MenuLinkGroups&gt;
    &lt;mui:LinkGroup DisplayName="MenuItem1"&gt;
      &lt;mui:LinkGroup.Links&gt;
        &lt;mui:Link DisplayName="Page 1" Source="/Sample1.xaml" /&gt;
      &lt;/mui:LinkGroup.Links&gt;
    &lt;/mui:LinkGroup&gt;
    &lt;mui:LinkGroup DisplayName="MenuItem2"&gt;
      &lt;mui:LinkGroup.Links&gt;
        &lt;mui:Link DisplayName="Page 1" Source="/Sample2.xaml" /&gt;
      &lt;/mui:LinkGroup.Links&gt;
    &lt;/mui:LinkGroup&gt;
  &lt;/mui:ModernWindow.MenuLinkGroups&gt;
  </code></pre>
  
  <p>Then within Sample1.xml I am linking directly to Sample2.xml in the code behind which is in the different group.  This works except the currently selected menu item at the top is still MenuItem1.  Any ideas how I can set this please? </p>
  
  <p>Hope this makes sense.
  Thanks in advance.</p>