Over a million developers have joined DZone.

Windows Phone Mango Sample: Input Scope

DZone's Guide to

Windows Phone Mango Sample: Input Scope

· Mobile Zone
Free Resource

Discover how to focus on operators for Reactive Programming and how they are essential to react to data in your application.  Brought to you in partnership with Wakanda

Windows Phone has an on-screen keyboard. We call it the SIP (Software Input Panel). It appears when users give focus to a TextBox. The configuration of SIP keys varies by how the developer sets up the TextBox’s InputScope property.


Here are three configurations (mango has 57):

image image image

On the far left is the DIGIT configuration. Remember, SIP configuration is meant to be an aid to the user, not a validation tool. Users can still use a physical keyboard to type in alpha characters, or use the clipboard to paste. Even with DIGIT, letters are possible.

HoW to Define InputScope in code-behind:


How to Define InputScope in XAML


Some Important InputScopes


Standard layout with features such as autocorrect and text suggestion


Standard layout with .com and customized Enter key for typing URLs.


Standard layout with .com and @ key, and easy access to phone number layout.


Standard layout with a customized Enter key. Used to type a location to search for on a map


12-key layout


Semi-transparent layout with a Search and .com key.


Standard layout with access to phone number layout. Used to type in the SMS To field


Text input that uses intelligent features such as abbreviations

Read more here.

Source: http://blog.jerrynixon.com/2011/11/mango-sample-input-scope.html

Learn how divergent branches can appear in your repository and how to better understand why they are called “branches".  Brought to you in partnership with Wakanda


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}