title: How to use a StaticResource Brush's Color?
body: <p>I have a brush as a Resource:</p>
  
  <pre><code>&lt;Application.Resources&gt;
      &lt;SolidColorBrush x:Key="AppBrush" Color="#FFFFFF"/&gt;
  &lt;/Application.Resources&gt;
  </code></pre>
  
  <p>and I want to use it's <code>Color</code>:</p>
  
  <pre><code>&lt;... BackgroundColor="{StaticResource AppBrush.Color}"/&gt;
  </code></pre>
  
  <p>But it isn't possible and I get a xaml corruption error. How can I do that?</p>
  
  <p>or in other away how to use Brush's <code>Color</code> in another <code>Color</code> resource:</p>
  
  <pre><code>&lt;Application.Resources&gt;
      &lt;Color x:Key="AppColor"&gt;#FFFFFF { here how to use AppBrush.Color?}&lt;/Color&gt;
      &lt;SolidColorBrush x:Key="AppBrush" Color="#FFFFFF"/&gt;
  &lt;/Application.Resources&gt;
  </code></pre>