Hello I have a data table that I can bind to the igRibbon:ComboEditorTool tool.
bind.Source = GraphSeriesToAdd; //Data table
this.cmbTraceToColor.SetBinding(Infragistics.Windows.Editors.XamComboEditor.ItemsSourceProperty, bind);
this.cmbTraceToColor.DisplayMemberPath = "Name";
SelectedItemChanged
e.Handled = true;
I cant seem to get it to function correctly.
Thanks
Mark
I have even tried this and get the same result. It always defaults back to the first Item
this.cmbTraceToColor.ItemsProvider.ItemsSource = GraphSeriesToAdd.DefaultView ; //DataTabe
this.cmbTraceToColor.ItemsProvider.DisplayMemberPath = "Name";
Can you post a sample?
The issue was the field Series was a class. So once this was added to ValueType
<igRibbon:ComboEditorTool Name="cmbTraceToColor" ValueChanged="cmbTraceToColor_ValueChanged" ValueType="{x:Type local:Series}"/>
It works fine!
(Thanks Jason!)