I have a form with some xamEditors controls and a button with isDefault property set to true. My problem is that when I hit Enter key on a control xamEditors the event of the button in my form is not raise. To raise the event I must hit Enter key for a second time.What is wrong?
Thanks for reply
Hi Matteo,
When hit Enter for the first time (and you are in the XamEditors ) the event which is fired is EditModeEnded. The second time you press Enter is the event of the button. If you do not want EditModeEnded event to be fired and be able to handle the event of the button with only one pressing of the Enter key, while still in the XamEditor, you have to set the IsAlwaysInEditMode Property to "True".
Hope this helps.
Ok now it works but I have a XamDateTimeEditor that in edit mode shows characters //.How can I hide this characters if XamDateTimeEditor is empty?
Thanks for reply.
Hello,
I think that is not supported but please check the help topics about the XamDateTimeEditor here:
http://help.infragistics.com/Help/NetAdvantage/WPF/2008.2/CLR3.X/html/xamDateTimeEditor.html