GridViewComboBoxColumn cb = new GridViewComboBoxColumn();
cb.Header = "Combo";
cb.ItemsSource = new String[] { "Mobile", "Business", "Fax" };
cb.DataMemberBinding=new Binding("Value");
rgv.Columns.Add(cb);
you have to click one or two times in the column to get the Combobox (it lokks like a ordinary column)
if the valuelist of the combocox Itemsource doesn't match the actual value, nothing is displayed (till you click on it)
No comments:
Post a Comment