title: Custom data binding on ComboBox
body: <p>I am trying to fill a ComboBox with multiple instances of a custom ComboBoxItem class. The ComboBoxItem class looks like this:</p>
  
  <pre><code> class ComboBoxItem
   {
       public string Text { get; set; }
       public object Value { get; set; }
  
       public override string ToString()
       {
           return Text;
       }
   }
  </code></pre>
  
  <p>I can fill the <code>CombBox</code> and read it's values just fine. My only problem is when an existing item comes in, the values should be bound to my <code>ComboBox</code>. But I don't know how to tell the <code>Binding</code> that it should use <code>ComboBoxItem.Value</code> as Value field.</p>
  
  <pre><code>//what to put in place of "SelectedItem"??
  comboBox.DataBindings.Add(new Binding("SelectedItem", row, "F_KundenId", true, DataSourceUpdateMode.OnPropertyChanged));
  </code></pre>