title: WPF style button
body: <p>I've tried to change style for mouseover event.</p>
  
  <p>Here's my styles code:</p>
  
  <pre><code>&lt;Window.Resources&gt;
      &lt;Style x:Key="NavigationButton" 
             TargetType="{x:Type Button}"&gt;
          &lt;Setter Property="Background" Value="#295fa6"/&gt;
          &lt;Setter Property="BorderBrush" Value="{x:Null}"/&gt;
          &lt;Style.Triggers&gt;
              &lt;Trigger Property="IsMouseOver" Value="True"&gt;
                  &lt;Setter Property="Background" Value="Red"/&gt;
                  &lt;Setter Property="BorderBrush" Value="{x:Null}"/&gt;
              &lt;/Trigger&gt;
          &lt;/Style.Triggers&gt;
      &lt;/Style&gt;
  &lt;/Window.Resources&gt;
  </code></pre>
  
  <p>and I used it in that way:</p>
  
  <pre><code>&lt;Button x:Name="test"
          Grid.Column="0"" 
          Style="{StaticResource NavigationButton}"&gt;
          &lt;Image Source="Assets/imaaa.png" /&gt;
   &lt;/Button&gt;
  </code></pre>
  
  <p>and mouseover still has default color </p>