title: How can I change foreground color of cell value in DataGridComboBoxColumn?
body: <p>I have a grid with <code>DataGridComboBoxColumn</code> and I am trying to change the foreground color of the cell (not in edit state). </p>
  
  <p>I know that I can workaround this using <code>DataGridTemplateColumn</code> but I'd like to try this. </p>
  
  <p>Compare:</p>
  
  <pre><code>&lt;DataGridComboBoxColumn Header="Is Active" 
    SelectedItemBinding="{Binding IsActive}"
    EditingElementStyle="{StaticResource ComboBoxStyle}"
    ItemsSource="{StaticResource BooleanValues}"&gt;
  &lt;/DataGridComboBoxColumn&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;DataGridTemplateColumn Header="IsActive"&gt;
    &lt;DataGridTemplateColumn.CellTemplate&gt;
      &lt;DataTemplate&gt;
        &lt;TextBlock Text="{Binding IsActive}" 
          Style="{StaticResource DataGridTextBlockStyle}"/&gt;
      &lt;/DataTemplate&gt;
    &lt;/DataGridTemplateColumn.CellTemplate&gt;
    &lt;DataGridTemplateColumn.CellEditingTemplate&gt;
      &lt;DataTemplate&gt;
        &lt;Grid FocusManager.FocusedElement="{Binding ElementName=combo}"&gt;
          &lt;ComboBox Name="combo"               
            SelectedValue="{Binding IsActive}"
            ItemsSource="{StaticResource BooleanValues}" /&gt;
         &lt;/Grid&gt;
      &lt;/DataTemplate&gt;
    &lt;/DataGridTemplateColumn.CellEditingTemplate&gt;
  &lt;/DataGridTemplateColumn&gt;
  </code></pre>
  
  <p>Thanks for hints! </p>