title: Select ComboBox.Item by string
body: <p>I have a combobox called <code>comType_1</code>, which contains certain selectable strings. I have a variable <code>k.Type_1</code>, which contains the desired string. </p>
  
  <p>Example: </p>
  
  <p><code>k.Type_1</code> contains "Test". <code>comType_1</code> contains an Item called "Test". How do I select this item? </p>
  
  <p>I've tried multiple things, and none of them worked:</p>
  
  <pre><code>comType_1.SelectedValue = k.Type_1;
  comType_1.SelectedValue = comType_1.Items.IndexOf(k.Type_1);
  comType_1.SelectedItem = comType_1.Items.Equals(k.Type_1);
  </code></pre>
  
  <p>I'm using Visual Studio 2015 Community and this application is a WPF-application.</p>