title: How to clear combox selected text in case of DropDownStyle property to DropDownList?
body: <p>I am working on windows form application. I have a combo box.
  I given combobox<br>
   <code>DropDownStyle property to DropDownList</code>. A clear button I given code like this:</p>
  
  <pre><code>cmbvisitpurpose.Text = "" 
  </code></pre>
  
  <p>If the combobox property drop down list then it wont clear selected text in the combobox.</p>
  
  <p>So in clear button code I have to give   </p>
  
  <pre><code>cmbvisitpurpose.SelectedIndex = -1
  </code></pre>
  
  <p>But, in cmbvisitpurpose.SelectedIndex event I have written lot of code some another purpose. While clearing every time that affecting that code also, so is there any other method to clear combobox selected text?
  so..<br>
  <strong><em>I dont want to use SelectedIndex . Is there any other method I can use instead of SelectedIndex</em></strong> </p>