title: WPF change the background color of an edittable combobox in code
body: <p>I need to set the background color of an editable <code>combobox</code> in code. This is what I have but does not change the color:</p>
  
  <pre><code>        ComboBox comboBox = sender as ComboBox;
          comboBox.Background = Brushes.PeachPuff;
  
          if (comboBox.IsEditable == true)
          {
              TextBox textBox = (TextBox)comboBox.Template.FindName("PART_EditableTextBox", comboBox);
              if (textBox != null)
              {
                  textBox.Background = Brushes.PeachPuff;
  
              }
          }
  </code></pre>
  
  <p>I was expecting the background color to change to PeachPuff (light orange) but nothing happens - any ideas?</p>