O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required