You must use InputScope for textBox
<TextBox Name="myTextBox" InputScope="Digits"/>
Here is a complete list of InputScopes that are expected to be supported based on the current enumeration names for InputScopeNameValue:
[NOTE] Even if you donโt get the keyboard you need, you can still use it, because in the future it is possible to support it in the future (perhaps the last mango)
http://www.imaginativeuniversal.com/blog/post/2010/07/06/WP7-InputScope.aspx
- Addresscity
- AddressCountryName
- AddressCountryShortName
- AddressStateOrProvince
- AddressStreet
- AlphanumericFullWidth
- Alphanumeric
- Applicationend
- Bopomofo
- Chat
- CurrencyAmount
- CurrencyAmountAndSymbol
- CurrencyChinese
- the date
- Dateday
- DateDayName
- Datemonth
- DateMonthName
- Dateyear
- Default
- Figures
- EmailNameOrAddress
- EmailSmtpAddress
- EmailUserName
- Enumstring
- File name
- Fullfilepath
- Chania
- Hiragana
- KatakanaFullWidth
- KatakanaHalfWidth
- Logoname
- Cards
- NameOrPhoneNumber
- room
- NumberFullWidth
- Onechar
- Password
- PersonalFullName
- PersonalGivenName
- PersonalMiddleName
- PersonalNamePrefix
- PersonalNameSuffix
- Personalsurname
- Phraselist
- PostalAddress
- PostalCode
- Private
- Regular expression
- Search
- Srgs
- PhoneAreaCode
- PhoneCountryCode
- PhoneLocalNumber
- Phone number
- Text
- Time
- Timehor
- TimeMinorSec
- URL
- Xml
- Yomi
source share