for WP7, you can set the input scope of the text box. That is to say, you can set an inaccessible keyboard for text input. For example, when you set a number, only the numeric keyboard is called, as is the case with email. Currently, there is no smart prompt when setting the scope of the text box. You can only query the API. This may be a problem with the WP7 version.
1. It can only be used for data input.
textblock text =" your number " style =" { staticresource phonetextlargestyle }"/>
textbox inputscope =" Number " name =" txtnumber " height =" 71 " width =" 460"/>
2,Enter personal name and information
<TextblockText= "Your name"Style= "{StaticresourcePhonetextlargestyle} "/>
<TextboxInputscope= "Personalfullname" Name= "Txtname"Height= "71"Width= "460"/>
3. enter the address information
textblock text =" What country are you from? " style =" { staticresource phonetextlargestyle }"/>
textbox inputscope =" addresscountryname " name =" txtcountry " height =" 71 " width =" 460"/>
4. email
textblock text =" your email " style =" { staticresource phonetextlargestyle }"/>
textbox inputscope =" emailnameoraddress " name =" txtemail " height =" 71 " width =" 460 "/>
5. url
<TextblockText= "Your favorite website"Style= "{StaticresourcePhonetextlargestyle} "/>
<TextboxInputscope= "Url"Name= "Txtwebsite"Height= "71"Width= "460"/>
6,Phone number
textblock text =" call your best friend " style =" { staticresource phonetextlargestyle }"/>
textbox inputscope =" telephonenumber " name =" txtfriend " height =" 71 " width =" 460 "/>
six enumeration types are taken into consideration.
enumeration value |
description |
Number |
call the input keypad |
personalfullname |
call the letter keyboard |
addresscountryname |
call the letter keyboard |
emailnameoraddress |
call a keyboard with @ and. com |
& Lt; TD width = "199" valign = "TOP" & gt; Url & lt;/TD & gt;
WWW, HTTP. keyboard |
telephonenumber |
call the keypad |