Aju
Aju

Reputation: 806

how to display on screen numeric keyboard in windows phone application

Now in my application, I have a Textbox for entering amount. As amount always deals with numbers, I just dont like a normal (character) keyboard poping up, when the TextBox is on focus. What should I do, so that when I click my TextBox, a numeric on screen keyboard should appear in front of me.

Thanks in advance

Upvotes: 0

Views: 348

Answers (1)

Kevin Gosse
Kevin Gosse

Reputation: 39007

Use the InputScope property to indicate which kind of keyboard must be displayed.

For instance, to display a numeric keyboard:

<TextBox InputScope="Number" />

Upvotes: 1

Related Questions