Windows Phone keyboard usage

Source: Internet
Author: User

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. }}
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.