title: Custom NavigationView Icons
body: <p>I want to make custom colored Icons for NavigationView Items.
  I added some code from old post as following.</p>
  <pre><code>       &lt;winui:NavigationViewItem x:Uid=&quot;Shell_Main&quot;  helpers:NavHelper.NavigateTo=&quot;views:MainPage&quot;   &gt;
              &lt;winui:NavigationViewItem.Content&gt;
                  &lt;StackPanel Orientation=&quot;Horizontal&quot;&gt;
                      
                      &lt;Image Source=&quot;/Assets/Icons/HomeIcon.png&quot; Width=&quot;25&quot; Height=&quot;25&quot;/&gt;
                      
                  &lt;/StackPanel&gt;
              &lt;/winui:NavigationViewItem.Content&gt;
          &lt;/winui:NavigationViewItem&gt;
  </code></pre>
  <p>The Change is OK in designer as The following Image .
  <a href="https://i.stack.imgur.com/QGi3E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QGi3E.png" alt="enter image description here" /></a></p>
  <p>But during execution, Nothing happned as in the following Image:
  <a href="https://i.stack.imgur.com/QnBeD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QnBeD.png" alt="enter image description here" /></a></p>
  <p>What's wrong?</p>