views:

38

answers:

1

I have a Wpf application with some textbox for decimal input.

I would that when I press "dot" key (.) on numeric keypad of pc keyboard it send the correct decimal separator.

For example, on Italian language the decimal separator is "comma" (,)...Is possible set the "dot" key to send the "comma" character when pressed?

+2  A: 

For that you need to gloablize your application. See these links:

http://msdn.microsoft.com/en-us/library/ms788718.aspx

http://www.codeproject.com/KB/WPF/GlobalizeLocalizeAWPFPro.aspx

Mamta Dalal
Thanks for suggestion...I also found a blog post that helps me: http://www.metanous.be/pharcyde/post/Use-the-numeric-keypad-decimal-key-as-the-numeric-separator-for-all-locales-as-in-Excel.aspx
LukePet