Windows Phone Development: How to standardize user input behavior

Source: Internet
Author: User

Many times, we restrict the operation or input of the user to avoid unnecessary exceptions or errors, so it is necessary to restrict the input to some special types.
The display mode of changing on-screen keyboard can regulate and tell the user what should be entered here.
To do this is not complicated, as long as the use of a class is sufficient--inputscope, it has a names property, contains a inputscopename list, and Inputscopename Namevalue is an enumeration value, in the final analysis, What on-Screen keyboard is displayed depends on the enumeration value.

Very much content, at least each enumeration item represents what, there is no need to one by one instructions, you can refer to the SDK documentation.
Above is the theoretical part, is not so God, below we use practice to prove it.
Start your VS and then create a new Silverlight for Windows phone app project.
The interface is very simple, just put a few textbox, we only do a few typical applications on the line, because the principle is the same. such as number, date, time, email address, etc.

Detailed Description: http://wp.662p.com/thread-7830-1-1.html

Windows Phone Development: How to standardize user input behavior

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.