title: Cannot bind background to button in Windows Phone 7
body: <p>I'm trying to bind the Background property of a standard button to a property I have in my viewmodel like this:</p>
  
  <pre><code>&lt;Button Height="72" HorizontalAlignment="Left" Margin="8,515,0,0" x:Name="BtnReset" VerticalAlignment="Top" Width="218" Foreground="White" BorderThickness="0"&gt;
      &lt;Button.Background&gt;
          &lt;ImageBrush ImageSource="{Binding ResetBtnImage}" /&gt;
      &lt;/Button.Background&gt;
  &lt;/Button&gt;
  </code></pre>
  
  <p>The property is as follows:</p>
  
  <pre class="lang-c# prettyprint-override"><code>    private ImageSource _resetBtnImage;
  
      /// &lt;summary&gt;
      /// Gets or sets the reset button image.
      /// &lt;/summary&gt;
      /// &lt;value&gt;
      /// The reset button image.
      /// &lt;/value&gt;
      public ImageSource ResetBtnImage
      {
          get { return _resetBtnImage; }
          set
          {
              _resetBtnImage = value;
              RaisePropertyChanged("ResetBtnImage");
          }
      }
  </code></pre>
  
  <p>And then I set it in code:</p>
  
  <pre><code>ResetBtnImage = new BitmapImage(new Uri(ResetBtnInActiveImage, UriKind.Relative));
  </code></pre>
  
  <p>However the button doesn't show up at all when I try and run the app on the phone or the emulator. Am I doing something wrong here?</p>
  
  <p>Thanks.</p>