0

According to this document, numeric keypad on Windows Phone OS 7.1 is ought to have "." - decimal point.

Is there a way to remove the decimal point from keyboard, leaving only numbers and Backspace sign?

Art
  • 23,747
  • 29
  • 89
  • 101

3 Answers3

1

There isn't a way to customize the soft input panel further than the various InputScopes. You could, however attempt to simulate the SIP, but that seems like a lot of extra work just to avoid the ".".

Here is one example that might be of help if you choose to go this route: http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx

earthling
  • 5,084
  • 9
  • 46
  • 90
1

Rather than attempt to modify the built in keyboards (which you can't do) or attempt to create a custom keyboard (which is a lot of work to accurately recreate the native experience) you'll probably find it much simpler to just ignore the characters you don't want displayed.

Matt Lacey
  • 65,560
  • 11
  • 91
  • 143
0

Use the TextChanged event to check for the period and ignore it.

Rich Hopkins
  • 1,861
  • 15
  • 29