Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Windows Phone 7: Silverlight, using multiple Software Input Panels in your applications

0.00/5 (No votes)
15 Oct 2010 1  
Change the Sip used to enter text on any textbox based on the use you need of that textbox.
Windows Phone 7 has 10 different input panels to choose from:

Default (Standard QWERTY Keyboard)
Text (Standard text with sugestions and autocorrection)
Url (URL Address)
EmailSmtpAddress (Email Address)
EmailNameOrAddress (Email name or address)
Maps (Map Localization search)
TelephoneNumer (Telephone number)
Search (Search Query)
NameOrPhoneNumber (SMS Contact search)
Chat (Text input with intelligent features like text abreviation)

The use is very simple, on your textbox XAML definition specify the SIP you want to use:

XML
<TextBox Text="http://jyeray.blogspot.com">
    <TextBox.InputScope>
        <InputScope>
            <InputScopeName NameValue="Url" />
        </InputScope>
    </TextBox.InputScope>
</TextBox>

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here