title: How do I find all elements which have a css class in coded ui?
body: <p>I need to find all Html controls which have a given css class.</p>
  
  <pre><code>var htmlControl = new HtmlControl(document);
  htmlControl.SearchProperties[HtmlControl.PropertyNames.Class] = @class;
  var uiTestControlCollection = htmlControl.FindMatchingControls();
  </code></pre>
  
  <p>Using the class name works when there is just one css class on the control. If I have more than one css classes applied on the element, can I search for the element by specifying just one css class and not all of them?</p>
  
  <p>Thanks</p>