I have several instances in my application that I would prefer to use a numerical keyboard. Does one exist in WP7 and if so, how would I go about popping that one up for a text box instead of the normal one?
You should use InputScope for the textBox
<TextBox Name="myTextBox" InputScope="Digits"/>
Here is the full list of InputScopes that are expected to be supported, based on the current enum names for InputScopeNameValue:
[NOTE] Even if you don't get the keyboard you want, you can still use it because it is highly possible to be supported in the future (final Mango probably)
http://www.imaginativeuniversal.com/blog/post/2010/07/06/WP7-InputScope.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With