Hi
i have a xamcomboeditor which is bound to a datatable. This part is working as expected and i have allowed custom values to by entered. However i need to know how to pass the text of the entered custom value to some other code. How do i access the entered text? eg a standard wpf combobox would be combobox.text.
any help or guidance is appreciated.
regards,
pfechner
Hello Pfechner,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thank you for your post. I have been looking into it and I can suggest using the ItemAdding and ItemAdded events of the XamComboEditor. When you set the CustomValueEnteredAction to Add and type a string that is not contained by the items of the XamComboEditor and press enter, a new item is added to the ItemsSource of the XamComboEditor. Using the ItemAdded and ItemAdded events, you can get the newly added item using the e.Item. I have created a sample application for you, that demonstrates how you can get the item that is being added to the editor, using the ItemAdding event.
Please let me know if you need any further assistance on the matter.