title: Wpf Button backround color change when get focused
body: <p>I am trying to change the background color when button gets click/focused but there is not any change occurring.</p>
  
  <pre><code>&lt;Style x:Key="btnInputForm" TargetType="{x:Type Button}"&gt;
      &lt;Setter Property="FontSize" Value="22"/&gt;
      &lt;Setter Property="Background" Value="#2f772b"/&gt;
      &lt;Setter Property="Foreground" Value="White"/&gt;
      &lt;Setter Property="Width" Value="120"/&gt;
      &lt;Setter Property="Height" Value="23"/&gt;
      &lt;Setter Property="Button.RenderTransformOrigin" Value=".5,.5"/&gt;
      &lt;Setter Property="TextElement.FontSize" Value="14" /&gt;
      &lt;Setter Property="TextElement.FontFamily" Value="Calibri" /&gt;
      &lt;Setter Property="Control.BorderBrush" Value="#085b09" /&gt;
      &lt;Setter Property="Control.BorderThickness" Value="1,1,1,1" /&gt;
      &lt;Setter Property="Margin" Value="3,10,3,3" /&gt;
      &lt;Setter Property="HorizontalAlignment" Value="Right" /&gt;
      &lt;Setter Property="VerticalAlignment" Value="Bottom" /&gt;
      &lt;Style.Triggers&gt;
          &lt;Trigger Property="IsFocused" Value="True"&gt;
              &lt;Setter Property="Background" Value="Yellow"/&gt;
          &lt;/Trigger&gt;
      &lt;/Style.Triggers&gt;
  
  
  &lt;/Style&gt;
  </code></pre>