Keyboard type:
Keyboard |
Remarks |
Input range |
|
Includes Automatic completion and a two-page release menu. |
Chat, text |
|
Default keyboard. |
Addresscity, addresscountryname, addresscountryshortname, region, addressstreet *, region, region, bopomofo, datedayname, region, default, filename, fullfilepath, Hanja, Hiragana, region, region, logonname, onechar, password, personalfullname, personalgivenname, personalmiddlename, personalnameprefix, personalnamesuffix, Yomi * When the keyboard language on the mobile phone or simulator is set to a language other than English, French, Filipino, Malay, and Hindi, addressstreet generates this keyboard. |
|
Includes the @ and. com keys. Press and hold the. com key to display other options (. org. com. edu. net ). |
Emailnameoraddress, emailsmtpaddress, emailusername |
|
Including the. com key. Press and hold the. com key to display other options (. com. org. edu. net ). Press and hold the period key to display other options (-+ &":./). |
URL |
|
Press the 123 key to switch to the phone number keyboard. Press and hold the period key to display other options (-_,.). |
Nameorphonenumber |
|
Contains numbers and symbols. |
Addressstreet *, currencyamountandsymbol, currencychinese, postaladdress, postalcode, time * When the keyboard language on the mobile phone or simulator is set to English, French, Filipino, Malay or Hindi, addressstreet generates this keyboard. |
|
Analog dialing keyboard. Press and hold the period key to display other options (, () X .). Press and hold the 0 Key to enter +. |
Telephoneareacode, telephonecountrycode, telephonelocalnumber, telephonenumber |
|
Contains numbers and decimal places. Press and hold the period key to display other options (.,-). |
Currencyamount, dateday, datemonth, dateyear, digits, number, numberfullwidth, numericpassword, timehour, timeminorsec |
|
Including Automatic completion. |
Maps, search |
|
Including Automatic completion. Press and hold the equal sign key to display other options (=): <> ). Press the & 123 key to switch to the number and symbol keyboard, which is suitable for entering the number formula. |
Formula |
Important:
Windows Phone applicationProgramThe following input ranges are not supported: applicationend, enumstring, phraselist, Private, regularexpression, SRGs, and XML.
Usage:
Add the textbox control settings in the XAML file as follows:Code
<Textbox X: Name = "searchinoftextbox" textwrapping = "Wrap" inputscope = "Search" keyup = "searchinoftextbox_keyup"/>
Textwrapping: Set whether to wrap automatically
Inputscope: Set the keyboard type used
Keyup: events that occur when the keyboard button is released
C # code:
private void searchinoftextbox_keyup (Object sender, keyeventargs e) {If (E. key = key. enter) // click the judgment button and run the code {This. focus (); // hide the virtual keyboard and return to the program interface. }}