Hi everyone,
I am trying to write custom Text into the XamComboEditor so that the text in the XamComboEditor is different to all its items.
The next time I open the Window it will have a new item with the content of the previously entered text.
With a normal ComboBox it works by setting IsEditable="True". -> XamComboEditor refuses.
How can I do this in XamComboEditor?
<ComboBox x:Name="Nextgremium_cmb" IsEditable="True"/>
thanks in Advance!
yours
Max
Hi Max,
Thank you for the feedback. I am glad I was able to help.
hi Gergana,
Thank you! I have implemented the CustomValueEnteredAction="Add" now and it works great on the WPF XamComboEditor!
thanks again for the fast support!
Regards
Yes, the two XamComboEditors are two different controls. The one in xmlns:Custom="http://infragistics.com/Editors" is a WPF specific control, where the other one is shared(can be used in WPF and Silverlight applications).
The WPF XamComboEditor class members you can find on the following link from our documentation: http://help.infragistics.com/Help/Doc/WPF/2015.2/CLR4.0/html/InfragisticsWPF4.Editors.v15.2~Infragistics.Windows.Editors.XamComboEditor_members.html.
The shared XamComboEditor members can be found here: http://help.infragistics.com/Help/Doc/WPF/2015.2/CLR4.0/html/InfragisticsWPF4.Controls.Editors.XamComboEditor.v15.2~Infragistics.Controls.Editors.XamComboEditor_members.html.
The shared XamComboEditor has a property CustomValueEnteredAction, which when set to 'Add' allows the user to add new items to the underlying ItemsSource.
Regarding your question about the toolbox - for now we are trying to encourage our clients to use the WPF specific controls. This is why there is only one XamComboEditor in the toolbox - the WPF one.
Please do not hesitate to let me know if you have any further questions on this matter.
Hello Gergana - thank you for the fast response!
Hello Max,
Thank you for contacting us!
I have been looking into your post and I have a question for you.
As we have two XamComboEditors - one is in the namespace Infragistics.Windows.Editors. The other in Infragistics.Controls.Editors.
Would you please provide me with more detailed information on which of the two XamComboEditors are you using? Having this information would help me further investigate this matter for you.
Looking forward to hearing from you.