Hi
In France, the decimal separator is the comma. Then, in my grid, the decimal values appears like that 123 456,25It's fine but when I want modify the value, the mask accept only comma as decimal separator. It is not practical when you have a lot of value to modify and you use the numeric pad of the keyboard, because the separator of the numeric pas is the point.In excel, by example, when you press this key, you enter automatically a comma. Is there a way to have a similar behavior in the your componants?
Thanks
Hello,
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking through your post, but I wasn’t able to reproduce you behavior, so I created a sample project for you, where the thing you want is the default behavior of the XDG and XamCurrencyEditor. If the sample doesn’t satisfies all your needs feel free to modify it so it reproduced your behavior and send it back to me for further investigation.
Feel free to write me if you have further questions.
Since I use the Vol2011.1, it works great. I have test your application and all is fine.
Regards.
Geoffroy
Hello Geoffroy,
Thank you for your feedback. I am glad that this is no longer an issue for you.
Thanks again.
Hi Stefan,
your example works fine for me. Thanks for the info.
The problem is that my application behaves differently. We build our XAML with C#. All the culture settings are ok when I check. What could be the problem that my . isnt converted to a comma?
Is it because the property is a double?
thanks for your help.
Patrick
Hello Patrick,
Thank you for your post. I have been looking into it and I can say that for different Cultures and Languages the Format is different, but the XamNumericEditor and XamCurrencyEditor will always accept “.”, when in edit mode, only the Format will be different.
Hope this helps you.
Hi,
I couldn't understand your point.
I have a scenario and it's failing there.
My OS Regional and Keyboard Settings are set to Swedish(Sweden).
My Application is Culture specific and set to en-GB. (My application will run on this and CurrentCulture is set to en-GB).
Now, when I type 2.5 in XamNumericEditor, it types 25.00. I cant understand, why this is creating issue, when I have checked all the Culture settings and everythign is according to en-GB.
I can't handle this type of scenario in my application, when I get "," from textInput and want to input value as 2.5, rather it is typing 25.00.
Hello Varun,
Thank you for your post. I have been looking into it, but it seems like that I am missing something in your scenario, so if this is still an issue for you, could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.
Looking forward for your reply.