title: different images for enable and disable states of a button in WPF
body: <p>I want to change the image of the button in the code below based on its state i.e. use different image for enable and disable state.</p>
  
  <pre><code>&lt;Button CommandParameter="Open" &gt;
      &lt;StackPanel Orientation="Horizontal" &gt;
          &lt;Image Source="../icons/big/open.png" Width="20" Height="20"&gt;&lt;/Image&gt;
      &lt;/StackPanel&gt;
  &lt;/Button&gt;
  </code></pre>
  
  <p>Thank you.</p>