title: How to correctly create button with images
body: <p>I want to create an application with multiple buttons. So I want to create a style in my application to define the buttons. Buttons should contain an image and that image should change when mousse is over.</p>
  
  <p>I created resources for images :</p>
  
  <pre><code>&lt;Image x:Key="Open-active" Source="Images/Open-active.png"/&gt;
  &lt;Image x:Key="Open-over" Source="Images/Open-over.png"/&gt;
  &lt;Image x:Key="Printer-active" Source="Images/Printer-active.png"/&gt;
  &lt;Image x:Key="Printer-over" Source="Images/Printer-over.png"/&gt;
  </code></pre>
  
  <p>I created a Style (but doesn't work with resource type <code>Image</code>):</p>
  
  <pre><code>&lt;Style x:Key="ButtonMain" TargetType="Button"
         BasedOn="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"&gt;
      &lt;Setter Property="Height" Value="{StaticResource MainButtonHeight}"/&gt;
      &lt;Setter Property="Width" Value="{StaticResource MainButtonWidth}"/&gt;
      &lt;Setter Property="Margin" Value="5"/&gt;
      &lt;Setter Property="Foreground" Value="Transparent"/&gt;
      &lt;Setter Property="BorderThickness" Value="0"/&gt;
      &lt;Setter Property="Background"&gt;
      &lt;Setter.Value&gt;
          &lt;ImageBrush ImageSource="???"/&gt;
      &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
      &lt;Style.Triggers&gt;
          &lt;Trigger Property="IsMouseOver" Value="True"&gt;
              &lt;Setter Property="Background"&gt;
                  &lt;Setter.Value&gt;
                      &lt;ImageBrush ImageSource="???"/&gt;
                  &lt;/Setter.Value&gt;
              &lt;/Setter&gt;
          &lt;/Trigger&gt;
      &lt;/Style.Triggers&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>How can a properly create my <code>Style</code> and how use it ?</p>
  
  <p>I want to use it with something like this :</p>
  
  <pre><code>&lt;Button Style="{StaticResource ButtonMain}"
      ImageActive="{StaticResource Open-active}"
      ImageOver="{StaticResource Open-over}""&gt;
  </code></pre>
  
  <p>Thank you for help</p>