title: Pass value of a StaticResource to ConverterParameter in a combine string
body: <p>I wrote a converter that get </p>
  
  <ul>
  <li><code>Value</code> as <code>Bool</code></li>
  <li><code>Parameter</code> as <code>String</code></li>
  </ul>
  
  <p>I use it like this:</p>
  
  <pre><code>BorderBrush="{Binding IsSelected,
                        Converter={StaticResource BoolToColorBrushConverter},
                        ConverterParameter='#ff00bfff;#0000bfff'}"
  </code></pre>
  
  <p>If <code>Value</code> is <code>True</code> then the converter return a <code>ColorBrush</code> from first color Hex code in Parameter else return a <code>ColorBrush</code> from second color hex code.</p>
  
  <p>My converter work very well <strong>But</strong> I want know how can i use it like this:</p>
  
  <pre><code>&lt;Color x:Key="MyColor1"&gt;#66bb66&lt;/Color&gt;
  
  --------------------
  
  BorderBrush="{Binding IsSelected,
                        Converter={StaticResource BoolToColorBrushConverter},
                        ConverterParameter=#ff00bfff;{StaticResource MyColor1}}"
  </code></pre>
  
  <p><strong>Result in Design mode:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/rzos3.jpg" alt="enter image description here"></p>
  
  <p><strong>Result at RunTime:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/4vlUp.jpg" alt="enter image description here"></p>
  
  <p>But i need color Hex code of the <code>StaticResource</code> in my parameter like this:</p>
  
  <pre><code>Parameter: "#ff00bfff;#66bb66"
  </code></pre>
  
  <p>My question is how can i pass a <code>StaticResource</code> value in a combine string to my <code>ConverterParameter</code>???</p>
  
  <p>What is your solution?</p>