title: Change ComboBox Background and Foreground After Item Selection
body: <p>I have looked through all the answers provided on this website for an answer to my problem and I couldn't find a working solution.</p>
  
  <p>I have a combobox that is bound to a Class using the ItemsSource Property.</p>
  
  <p>The Class Definition is as follows:</p>
  
  <pre><code>public class DataSource
  {
      public string DisplayField { get; set; }
      public string ValueField { get; set; }
  }
  </code></pre>
  
  <p>The ComboBox is bound to display the data using the DisplayMemberPath = "DisplayField" and the SelectedValuePath = "ValueField"... This is done in the code behind and loaded when the Window Loads.</p>
  
  <p>The ComboBox is defined as follows:</p>
  
  <pre><code>&lt;ComboBox Grid.Row="0" Grid.Column="1" Margin="5 5 5 0" Name="releaseHoldDropDown" Width="100"/&gt;  
  </code></pre>
  
  <p>I need a way to change the background to Green and the Foreground to White if the value of the drop down changes to "Release".</p>
  
  <p>I also need to change the background to Red and the Foreground to White if the value of the drop down changes to "Hold". </p>
  
  <p>FYI: I am using the ExpressionLight.xaml theme to style the application as a whole. </p>
  
  <p>As a side note I also want a way to change the background on ALL my Comboboxes from the Grey to White to make them more readable. So I need to modify the ExpressionLight.xaml but I have no idea which part to edit to make those changes. </p>
  
  <p>Any Help Will be Appreciated.</p>
  
  <p>thank you</p>