Input Scope

The InputScope property determines the set of keys and layout provided on the SIP. This value allows you to provide the user with a specialized keyboard, particular to the data that is being entered.

The following code demonstrates how to change the default alphanumeric SIP to one containing telephone digits, suitable for allowing the user to enter a telephone number:

<TextBox InputScope="TelephoneNumber" />

The InputScope is specified using one of the values from the InputScopeNameValue enum (see Table 6.3).

TABLE 6.3. InputScopeNameValue Enum Values

Image

Most of the InputScopeNameValue enum values are mapped to a particular keyboard ...

Get Windows® Phone 8 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.