Two questions:
- For Infragistics.Controls.Editors.XamComboEditor, is there a way for the user to enter a free form value (Value not in the list), similar to the Infragistics.Windows.Editors.XamComboEditor limitToList property?
I need the ability for the user to select from the dropdown or enter their own text. I was using the Infragistics.Windows.Editors.XamComboEditor, but its look and feel is different than the Controls.Editors.XamComboEditor component.
- How do you get the two XamComboEditors to have the same look and feel so that I can use both and be consistent in presentation?
Hi Peter,
1.) You will want to use the CustomValueEnteredAction property. It allows you to set whether you will allow typed text to remain or be ignored if it does not match the items in the dropdown. You can also tell it to add the value to the dropdown if it doesn't already exist.
http://help.infragistics.com/doc/WPF/2014.1/CLR4.0/?page=InfragisticsWPF4.Controls.Editors.XamComboEditor.v14.1~Infragistics.Controls.Editors.CustomValueEnteredActions.html
2.) If you want to change the look and feel of the editors, the best place to start is the default styles for the controls. When you installed the Infragistics product, the default styles for all of our controls were provided. You can find them here: C:\Program Files (x86)\Infragistics\2014.2\WPF\DefaultStyles. The Controls.Editors combo editor is inside the XamComboEditor folder while the Windows.Editors combo editor is inside the Editors folder.
Hello Peter,
Do you have any other questions on this issue?
Sincerely,Valerie Developer Support Supervisor - XAMLInfragisticswww.infragistics.com/support