title: How to set NavigationView.SelectedItem programmatically by tag
body: <p>In my XAML I have</p>
  
  <pre><code>...
      &lt;NavigationView Name="NavView"
                      PaneDisplayMode="LeftCompact"
                      Loaded="NavView_Loaded"&gt;
          &lt;NavigationView.MenuItems&gt;
              ...
              &lt;NavigationViewItem Tag="movies" Icon="Folder" Content="Movies" /&gt;
              ...
          &lt;/NavigationView.MenuItems&gt;
      &lt;/NavigationView&gt;
  ...
  </code></pre>
  
  <p>In the codebehind I would like to set the selected menu item using the tag property of the NavigationMenuItem. I know I can do something like</p>
  
  <pre><code>NavView.SelectedItem = NavView.MenuItems[3];
  </code></pre>
  
  <p>but I want to be able to do this, like I said, using the tag property instead of an index value. This is because if I change the menu item order, I don't want to have to go back and change the index value in the codebehind.</p>
  
  <p>Thank you in advance for any help given.</p>