How to exclude something from the keyboard?

72 Views Asked by At

Is it possible on a windows phone to exclude something from the keyboard? I want to exclude the "," and keep only the "." character on the keyboard with InputScope="Number".

1

There are 1 best solutions below

0
Rowland Shaw On BEST ANSWER

You cannot remove individual keys from the built in keyboard, only use one of the valid values for InputScope.

Instead you should validate the value (after all, , is the thousands separator in most cultures where . is the decimal separator (and vice versa in some)) for characters you don't want for your purpose, or do what some apps have done, and implemented a keypad with just the buttons you want as a control for use in your views.