title: WPF Change button background image when clicked
body: <p>I have created a <code>Button</code> and set its background <code>Image</code>.  What I want is when the <code>Button</code> is clicked, I want to replace the background <code>Image</code> with another one</p>
  
  <p>How can I accomplish this?</p>
  
  <p>Here is my code with the <code>Button</code>:</p>
  
  <pre><code>&lt;Button x:Name="PopulationReporting" Click="PopulationReporting_Clicked" Width="172" 
         Height="60" Margin="57,170,57,184"&gt;
      &lt;Button.Background &gt;
          &lt;ImageBrush ImageSource="images/img-2.png"  /&gt;
      &lt;/Button.Background&gt;
  &lt;/Button&gt;
  </code></pre>