title: How to get Combobox.Datasource to a Dictionary?
body: <p>Following is my code which is binding a <code>List()</code> to a <code>ComboBox</code> control. I tried to add few items to the CombBox control using <code>Insert() method</code> which is <code>not allowed</code> as it has been assigned to a datasource. So, how can I get the datasouce back to a new variable (say, var colours2) from cmbColour.DataSource which is returning an object. Thanx !</p>
  
  <pre><code>var colours= new Dictionary&lt;string, string&gt;
              {
                {"1x","Green"},
                {"2x","Red"},
                {"3y","Blue"},
                {"4y","Black"}
              }.ToList();
  
  cmbColour.ValueMember = "Key";
  cmbColour.DisplayMember = "Value";
  cmbColour.DataSource = colours;
  
  var colours2 = //how can I get the DataSource back 
  </code></pre>