Click here to Skip to main content
13,900,017 members
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

36.5K views
1 bookmarked
Posted 12 Jul 2010
Licenced CPOL

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

Rate this:
Please Sign up or sign in to vote.
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:

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

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Josué Yeray Julián Ferreiro
Software Developer (Senior) Freelance Developer
Spain Spain
MVP Windows Platform Development 2014
MVP Windows Phone Development 2013
MVP Windows Phone Development 2012

You may also be interested in...

Pro

Comments and Discussions

 
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web01 | 2.8.190306.1 | Last Updated 15 Oct 2010
Article Copyright 2010 by Josué Yeray Julián Ferreiro
Everything else Copyright © CodeProject, 1999-2019
Layout: fixed | fluid