Windows Phone InputScope and keyboard layout

I Love the InputScope feature in Windows Phone 7, there are few InputScopes available for Silverlight for WP. I listed below. The InputScope property provides a way to automatically associate keyboard to textboxes. So, take advantage of it!

Windows phone 7 InputScope and keyboard layout
Windows phone 7 InputScope and keyboard layout

To add InputScope to a textbox is easy, just we need to add one more property like this below

<TextBox Name=”txtSiteAddress” InputScope=”Url”/>  –// if you want to add text for web site URL

If you set InputScope=”Text”, started typing words it will suggests few related words (Like when I tried to type India..)

Check with list of InputScopes

Supported by Silverlight for Windows Phone

What? Why?
AddressCity For a city address.
AddressCountryName Name of a country or region.
AddressCountryShortName Abbreviated name of a country/region.
AddressStateOrProvince A state or province.
AddressStreet Street address.
AlphanumericFullWidth Alphanumeric full-width characters.
AlphanumericHalfWidth Alphanumeric half-width characters.
ApplicationEnd Not supported. For internal use in Silverlight for Windows Phone.
Bopomofo Input pattern for the Bopomofo Mandarin Chinese phonetic transcription system.
Chat The SIP layout for text messaging, which recognizes pre-defined abbreviations.Supported only in Silverlight for Windows Phone.
CurrencyAmount Amount of currency.
CurrencyAmountAndSymbol Amount and symbol of currency.
CurrencyChinese Chinese currency.
Date Calendar date.
DateDay Numeric day in a calendar date.
DateDayName The name of the day in a calendar date.
DateMonth Numeric month in a calendar date.
DateMonthName The name of the month in a calendar date.
DateYear The text input pattern for the year in a calendar date.
Default The default handling of input commands.
Digits The text input pattern for digits.
EmailNameOrAddress The SIP layout for an e-mail name or address. Supported only in Silverlight for Windows Phone.
EmailSmtpAddress Simple Mail Transfer Protocol (SMTP) email address.
EmailUserName An email user name.
EnumString Not supported. For internal use in Silverlight for Windows Phone.
FileName Input pattern for a file name.
FullFilePath The full path of a file.
Hanja Hanja characters.
Hiragana Hiragana writing system.
KatakanaFullWidth Full-width Katakana characters.
KatakanaHalfWidth Half-width Katakana characters.
LogOnName A log on name.
Maps The SIP layout for entering a map location. Supported only in Silverlight for Windows Phone.
NameOrPhoneNumber The SIP layout for SMS To field. Supported only in Silverlight for Windows Phone.
Number For a number.
NumberFullWidth For a full-width number.
OneChar One character.
Password For a password.
PersonalFullName A person’s full name.
PersonalGivenName A person’s given name.
PersonalMiddleName Person’s middle name.
PersonalNamePrefix The prefix of a person’s name.
PersonalNameSuffix The suffix of a person’s name.
PersonalSurname A person’s surname.
PhraseList A phrase list.
PostalAddress A postal address.
PostalCode A postal code.
Private Not supported. For internal use in Silverlight for Windows Phone.
RegularExpression Input pattern for a regular expression.
Search The SIP layout for a search query. Supported only in Silverlight for Windows Phone.
Srgs The Speech Recognition Grammar Specification (SRGS).
TelephoneAreaCode Telephone area code.
TelephoneCountryCode Telephone country/region code.
TelephoneLocalNumber Telephone local number.
TelephoneNumber Telephone number.
Text The software input panel (SIP) layout for standard text input. Supported only in Silverlight for Windows Phone.
Time Input pattern for the time.
TimeHour Input pattern for the hour of the time.
TimeMinorSec Text input pattern for the minutes or seconds of time.
Url For a Uniform Resource Locator (URL).
Xml For XML.
Yomi Not supported. For internal use in Silverlight for Windows Phone.

Check this post about iPhone keyboard types – iPhone Keyboard type – UIKeyboardType