title: How to compare ItemElements of a Radcombobox with an expected string?
body: <p>I need compare if a <code>Radcombobox</code> has <code>ItemElements</code> that matches with my expected string. Here is what I'm trying to do:</p>
  
  <pre><code>foreach (IRadComboBoxItem item in comboBox.ItemElements)
  {
      var itemExists = comboBox.ItemElements.FirstOrDefault(items =&gt; item.Text.Contains(expectedString));
      if (itemExists == null) continue;
      itemExists.Select();
      return true;
  }
  </code></pre>
  
  <p>However <code>comboBox.Text.Contains(expectedString)</code> is not supported as I'm comparing <code>IRadComboBoxItem</code> with a string. Could you please suggest how to achieve this?</p>