How can i make a xamComboEditor redisplay my EmptyText after a selection is made? I want to pick a reason from the combo, apply it to any number of selected objects (in a xamdatagrid), and then have the xamComboEditor go back to its initial state, with nothing selected so that it displays my EmptyText ("Select a reason...). How can i do this? A sample project would be great. I am currently using SelectedItem binding etc, but i can't figure out how to make the selecteditem back to nothing/null/empty after i apply whatever was just selected to my target objects.
Hello Travis,
I am just checking your progress on the issue. Please do not hesitate to let me know if you have any further questions on this matter.
I have been looking into your post. I have modified the sample application to use a behavior, that handles the SelectionChanged event. The command, that set the empty text is the one used for the button click event from the last sample.
In the modified sample application, when you select an item from the xamComboEditors items, it changes back to the empty text set for the combo. Please find the attached sample application and feel free to let me know if you have any further questions on this matter.
yes could you provide a sample project that does this
I am just checking if you have any further questions on this matter. If you do please do not hesitate to let me know.
I have been looking into your issue and I can suggest to use a behavior that should be responsible for the SelectionChanged event. Here is a link, where you can find more information about the behaviors: http://msdn.microsoft.com/en-us/library/ff726531(v=expression.40).aspx, http://msdn.microsoft.com/en-us/library/ff725476(v=expression.40).aspx.
Please do not hesitate to let me know if you have any further questions on the matter.