Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
229
Databinding to igRibbon:ComboEditorTool
posted

Hello I have a data table that I can bind to the igRibbon:ComboEditorTool tool.

Binding bind = new Binding();bind.Mode = BindingMode.Default;

bind.Source = GraphSeriesToAdd; //Data table

this.cmbTraceToColor.SetBinding(Infragistics.Windows.Editors.XamComboEditor.ItemsSourceProperty, bind);

this.cmbTraceToColor.ValuePath = "Series";

this.cmbTraceToColor.DisplayMemberPath = "Name";

 

This works ok. I see the items listed in the combobox. I can select any one I choose. In the event

SelectedItemChanged

 I see the value I selected. But the event is fired twice as the combobox always reverts back to the first item in the list. I have also set

e.Handled = true;

I cant seem to get it to function correctly.

Thanks

Mark

Parents Reply Children
No Data