Reputation: 2639
In WP 8.1, I have a TextBox
whose InputScope
it set to Number
. (InputScope="Number"
) However, this comes with a dot and I'd like to be able to remove it from the keyboard. I'd like the keyboard to have numerical values only as well as the backspace (clear) button.
Upvotes: 1
Views: 770
Reputation: 21889
There is no way to alter the keyboard that specifically. You can set the keyboard for numbers but not specifically for integers. You'll have to filter the results as they are received (you need to do that anyway since text could be pasted). The TextChanged event is a good place to do this.
Upvotes: 2