title: WPF: multiple foreground colors in a ComboBox
body: <p>In XAML we can set specific properties for each item in a <code>ComboBox</code>, for example:</p>
  
  <pre><code>&lt;ComboBoxItem Foreground="Blue" Background="AntiqueWhite" Content="First Item"/&gt;
  &lt;ComboBoxItem Foreground="Yellow" Background="Red" Content="Second Item"/&gt;
  </code></pre>
  
  <p>When I try to do this when I'm dynamically filling a <code>ComboBox</code> from code, the <code>ComboBox .Foreground</code> property sets a foreground value on all the items. I would like to know if there's anyway to achieve this (setting different foreground colors for different items) in the code.</p>
  
  <p>For example: </p>
  
  <pre><code>ComboBox1[First Item].Foreground = Brushes.Red;
  ComboBox1[Second Item].Foreground = Brushes.Blue;
  </code></pre>