title: Find item in WPF ComboBox
body: <p>I know in ASP.NET I can get an item from a DropDownList by using</p>
  
  <pre><code>DropDownList1.Items.FindByText
  </code></pre>
  
  <p>Is there a similar method I can use in WPF for a ComboBox?</p>
  
  <p>Here's the scenario.</p>
  
  <p>I have a table called RestrictionFormat that contains a column called RestrictionType, the type is a foreign key to a table that stores these values.</p>
  
  <p>In my editor application I'm writing, when the user selects the RestrictionFormat from a ComboBox (this works fine), I'm pulling up the details for editing. I'm using a second ComboBox to make sure the user only selects one RestrictionType when editing. I already have the second combobox bound property from the RestrictionType table, but I need to change the selected index on it to match the value specified in the record.</p>
  
  <hr>
  
  <p>Here's the scenario.</p>
  
  <p>I have a table called RestrictionFormat that contains a column called RestrictionType, the type is a foreign key to a table that stores these values.</p>
  
  <p>In my editor application I'm writing, when the user selects the RestrictionFormat from a ComboBox (this works fine), I'm pulling up the details for editing. I'm using a second ComboBox to make sure the user only selects one RestrictionType when editing. I already have the second combobox bound property from the RestrictionType table, but I need to change the selected index on it to match the value specified in the record.</p>
  
  <p>Does this make sense?</p>