title: How to hide items in combo-boxes?
body: <p>I have a combobox with various items, item1 item2 item3</p>
  
  <p>They all show as visible and are selectable, but i wanna hide for example item3, i want him to appear only when a variable equals 1</p>
  
  <p>is this possible? Because all of the items i have in the collection including item3 are showing up. </p>
  
  <p>I'm using the following to disable its selection</p>
  
  <pre><code>  if (ComboBox1.SelectedItem == "item3")
          {
              ComboBox1.SelectedIndex = -1;
    }
  </code></pre>
  
  <p>and it works fine, but i wanna actualy make item3 invisible unless other variable is set as 1</p>