title: Databinding Button Content to a static resource fails
body: <p>I am trying to design a set of icons in a Silverlight 4 User Control's ressources, and then display these on a button.</p>
  
  <p>I have</p>
  
  <pre><code>&lt;UserControl.Resources&gt;        
      &lt;Rectangle x:Key="Icon1" Fill="Black" Width="10" Height="10" /&gt;            
  &lt;/UserControl.Resources&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;Button x:Name="Button1"
          Width="50" Height="50"                        
          Content="{Binding Source={StaticResource Icon1}}" /&gt; 
  </code></pre>
  
  <p>I also tried  <code>... Content="{StaticResource Icon1}"</code>. Both show fine in the XAML Designer of VS 2010, but fail when I try to run it with a XAMLParseException. The first one complains about the argument not falling into the expected range, the second one simply says "Failed to assign property". Copying the Rectangle into the Buttons content directly works fine.</p>
  
  <p>Where is the problem? I thought I finally understood this.. =/</p>