title: what is the difference between setting up the background color of a button directly an through solid color brush in wpf
body: <p>I was trying to set the background color of a button which i had defined in a resource dictionary. 
  but when i am trying to use the below code it is not reflecting.</p>
  
  <pre><code>&lt;Button Content="{StaticResource Seat}" Name="A2"  Background="{Binding  Source={StaticResource  LimeGreen111}}" MinWidth="50" MinHeight="50"/&gt;
  </code></pre>
  
  <p>but wheni use through <code>SolidColorBrush</code> it was working as expected.</p>
  
  <pre><code>&lt;Button Content="{StaticResource Seat}" Name="A1"  MinWidth="50" MinHeight="50"&gt;
      &lt;Button.Background&gt;
          &lt;SolidColorBrush Color="{StaticResource AliceBlue1}"/&gt;
      &lt;/Button.Background&gt;
  &lt;/Button&gt;
  </code></pre>
  
  <p>what is the difference between these two can any one explain</p>