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