title: How to Disable Combobox Items?
body: <p>Is there a way to disable all but the first x items of a WPF ComboBox by accessing its items' properties via an Index?</p>
  
  <p>edit:</p>
  
  <pre><code> ComboBoxItem DiffieHellmanItem = (ComboBoxItem)comboboxName.ItemContainerGenerator.ContainerFromIndex(i));
  </code></pre>
  
  <p>works</p>