title: Binding Boder.Background to LinearGradientBrush from Resource Dictionary
body: <p>I'd like to Bind the Background of a Border Property to elements in a list.</p>
  
  <p>I have a Dictionary holding the follwing:</p>
  
  <pre><code>&lt;LinearGradientBrush x:Key="ConfigurationItemBackground" EndPoint="0.5,1" StartPoint="0.5,0"&gt;
      &lt;GradientStop Color="#FFAABBCC" Offset="1"/&gt;
      &lt;GradientStop Color="#FFCCDDEE" Offset="0.7"/&gt;
  &lt;/LinearGradientBrush&gt;    
  
  &lt;LinearGradientBrush x:Key="NavigationItemBackground" EndPoint="0.5,1" StartPoint="0.5,0"&gt;
      &lt;GradientStop Color="#FFD97825" Offset="1"/&gt;
      &lt;GradientStop Color="#FFFF9A2E" Offset="0.7"/&gt;
  &lt;/LinearGradientBrush&gt;
  </code></pre>
  
  <p>Now I fill a ObservableCollection holding Objects that contain a Property called "BackgroundStyle". When I fill a list box with styled background I'd like to bind the Background to "BackgroundStyle"</p>
  
  <pre><code>&lt;Border x:Name="Border" BorderThickness="1" CornerRadius="4" Width="120" Height="80"
          VerticalAlignment="Center" HorizontalAlignment="Center" Padding="4"
          BorderBrush="Black" Background="{Binding Path=BackgroundStyle}"&gt;
  </code></pre>
  
  <p>This works well, if BackgroundStyle="Red" or "Green" but it won't work if I use "ConfigurationItemBackground". </p>
  
  <p>Any suggestions?
  Thanks for your help ;)</p>
  
  <p>-Tim-</p>