title: How to keep the background of a button the same while it is pressed?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3518146/wpf-button-ispressed-and-isenabled-problem">WPF Button isPressed and isEnabled problem</a>  </p>
  </blockquote>
  
  
  
  <p>Here is a snippet of code from an application that I am developing using WPF and XAML. What I am trying to do is get the button's background to stay the same color when it is clicked on by the user as it is when it is not clicked on by the user. </p>
  
  <p>Note: There is an image in the button.</p>
  
  <pre><code>&lt;Button Name="Button1" Background="#3852A4" Grid.Column="0" Grid.Row="0" Width="35" Height="35" HorizontalAlignment="Left" VerticalAlignment="Top" Click="swapGd1andGd2"&gt;
      &lt;Button.Style&gt;
          &lt;Style&gt;
              &lt;Style.Triggers&gt;
                  &lt;Trigger Property="Button.IsPressed" Value="True"&gt;
                      &lt;Setter Property="Button.Background" Value="#3852A4" /&gt;
                  &lt;/Trigger&gt;
              &lt;/Style.Triggers&gt;
          &lt;/Style&gt;
      &lt;/Button.Style&gt;
      &lt;Image Source="Images/112_DownArrowShort_Grey_24x24_72.png" Width="24" Height="24" Stretch="Fill"&gt;&lt;/Image&gt;
  &lt;/Button&gt;`
  </code></pre>
  
  <p>My question is, why doesn't this code produce the results that I want?</p>