CoreTextInputScope
CoreTextInputScope
CoreTextInputScope
CoreTextInputScope
Enum
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Defines constants that specify the set of input scope names. Input scope is used by the text input server and input processors to determine the layout of the Soft Input Panel (SIP), and what type of language model to use.
public : enum class CoreTextInputScopepublic enum CoreTextInputScopePublic Enum CoreTextInputScope// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| Address Address Address Address | Expected input is a full postal address. (For example, "One Microsoft Way, Redmond, WA 98052, U.S.A.") |
| AddressCity AddressCity AddressCity AddressCity | Expected input is the city portion a full address. (For example, "Redmond".) |
| AddressCountryName AddressCountryName AddressCountryName AddressCountryName | Expected input is the country name portion a full address. (For example, "United States of America".) |
| AddressCountryShortName AddressCountryShortName AddressCountryShortName AddressCountryShortName | Expected input is the country abbreviation portion a full address. (For example, "U.S.A.") |
| AddressPostalCode AddressPostalCode AddressPostalCode AddressPostalCode | Expected input is the postal code (or zip code) portion a full address. (For example, "98052".) |
| AddressStateOrProvince AddressStateOrProvince AddressStateOrProvince AddressStateOrProvince | Expected input is the state or province portion a full address. (For example, "WA".) |
| AddressStreet AddressStreet AddressStreet AddressStreet | Expected input is the street portion a full address. (For example, "Microsoft Way".) |
| AlphanumericFullWidth AlphanumericFullWidth AlphanumericFullWidth AlphanumericFullWidth | Expected input is full-width alphanumeric characters. |
| AlphanumericHalfWidth AlphanumericHalfWidth AlphanumericHalfWidth AlphanumericHalfWidth | Expected input is half-width alphanumeric characters. |
| Bopomofo Bopomofo Bopomofo Bopomofo | Expected input is the Bopomofo Mandarin Chinese phonetic transcription system. |
| Chat Chat Chat Chat | Expected input is chat strings. |
| ChatWithoutEmoji ChatWithoutEmoji ChatWithoutEmoji ChatWithoutEmoji | Expected input does not include emoji. Advises input processors to not display the emoji key. |
| ChineseFullWidth ChineseFullWidth ChineseFullWidth ChineseFullWidth | Expected input is Chinese full-width characters. |
| ChineseHalfWidth ChineseHalfWidth ChineseHalfWidth ChineseHalfWidth | Expected input is Chinese half-width characters. |
| CurrencyAmount CurrencyAmount CurrencyAmount CurrencyAmount | Expected input is an amount of currency. |
| CurrencyAmountAndSymbol CurrencyAmountAndSymbol CurrencyAmountAndSymbol CurrencyAmountAndSymbol | Expected input is an amount of currency and a currency symbol. |
| CurrencyChinese CurrencyChinese CurrencyChinese CurrencyChinese | Expected input is Chinese currency. |
| Date Date Date Date | Expected input is a calendar date. |
| DateDay DateDay DateDay DateDay | Expected input is the numeric day portion of a calendar date. |
| DateDayName DateDayName DateDayName DateDayName | Expected input is the alphabetic name of the day from a calendar date. |
| DateMonth DateMonth DateMonth DateMonth | Expected input is the numeric month portion of a calendar date. |
| DateMonthName DateMonthName DateMonthName DateMonthName | Expected input is the alphabetic name of the month from a calendar date. |
| DateYear DateYear DateYear DateYear | Expected input is the year portion of a calendar date. |
| Default Default Default Default | No input scope is applied. |
| Digits Digits Digits Digits | Prerelease. Expected input includes positive whole numbers, constrained to 0-9. |
| EmailAddress EmailAddress EmailAddress EmailAddress | Expected input is an SMTP form email address (<accountname>@<host>). |
| EmailUserName EmailUserName EmailUserName EmailUserName | Expected input is the account name portion of an email address. |
| EmailUserNameOrAddress EmailUserNameOrAddress EmailUserNameOrAddress EmailUserNameOrAddress | Expected input is an email user name (<accountname>) or full email address (<accountname>@<host>). |
| FileName FileName FileName FileName | Expected input is characters used in describing a file name. |
| FilePath FilePath FilePath FilePath | Expected input is characters used in describing a file path. |
| Formula Formula Formula Formula | Expected input is a mathematical formula. |
| FormulaNumber FormulaNumber FormulaNumber FormulaNumber | Expected input is a mathematical formula. Advises input processors to show the number page. |
| HangulFullWidth HangulFullWidth HangulFullWidth HangulFullWidth | Expected input is Hangul full-width characters. |
| HangulHalfWidth HangulHalfWidth HangulHalfWidth HangulHalfWidth | Expected input is Hangul half-width characters. |
| Hanja Hanja Hanja Hanja | Expected input is Hanja characters. |
| Hiragana Hiragana Hiragana Hiragana | Expected input is Hiragana characters. |
| KatakanaFullWidth KatakanaFullWidth KatakanaFullWidth KatakanaFullWidth | Expected input is Katakana full-width characters. |
| KatakanaHalfWidth KatakanaHalfWidth KatakanaHalfWidth KatakanaHalfWidth | Expected input is Katakana half-width characters. |
| Maps Maps Maps Maps | Expected input is from the device's Maps layout; does not include typing intelligence. |
| NameOrPhoneNumber NameOrPhoneNumber NameOrPhoneNumber NameOrPhoneNumber | Expected input is a name or a telephone number. |
| NativeScript NativeScript NativeScript NativeScript | Expected input is native script. |
| Number Number Number Number | Expected input includes the digits 0-9, decimal separators, place separators, and negative sign. The exact characters used for decimal separators, place separators, and negative sign, depend on the user’s regional settings. |
| NumberFullWidth NumberFullWidth NumberFullWidth NumberFullWidth | Expected input is full-width number characters. |
| Password Password Password Password | Expected input is a password. |
| PasswordNumeric PasswordNumeric PasswordNumeric PasswordNumeric | Expected input is a numeric password, or PIN. |
| PersonalFullName PersonalFullName PersonalFullName PersonalFullName | Expected input is a person’s full name, including prefix, given name, middle name, surname, and suffix. |
| PersonalGivenName PersonalGivenName PersonalGivenName PersonalGivenName | Expected input is the given (or first) name portion of a person’s full name. |
| PersonalMiddleName PersonalMiddleName PersonalMiddleName PersonalMiddleName | Expected input is the middle name portion of a person’s full name. |
| PersonalNamePrefix PersonalNamePrefix PersonalNamePrefix PersonalNamePrefix | Expected input is the prefix portion of a person’s full name. (For example, "Mr.") |
| PersonalNameSuffix PersonalNameSuffix PersonalNameSuffix PersonalNameSuffix | Expected input is the suffix portion of a person’s full name. (For example, "Jr.") |
| PersonalSurname PersonalSurname PersonalSurname PersonalSurname | Expected input is the family (or last) name portion of a person’s full name. |
| PinAlphanumeric PinAlphanumeric PinAlphanumeric PinAlphanumeric | Prerelease. Expected input is an alphanumeric password, or PIN. Typically constrained to 5-6 characters. |
| PinNumeric PinNumeric PinNumeric PinNumeric | Prerelease. Expected input is an numeric password, or PIN. Typically constrained to 5-6 digits. |
| Private Private Private Private | Expected input is private data. Advises input processors that the text should not be stored nor logged. |
| Search Search Search Search | Expected input is a search string. |
| SearchIncremental SearchIncremental SearchIncremental SearchIncremental | Expected input is a search string. Use for search boxes where incremental results are displayed as the user types. |
| SingleCharacter SingleCharacter SingleCharacter SingleCharacter | Expected input is a single ANSI character, codepage 1252. |
| TelephoneAreaCode TelephoneAreaCode TelephoneAreaCode TelephoneAreaCode | Expected input is the area code portion of a full telephone number. (For example, "(800)".) |
| TelephoneCountryCode TelephoneCountryCode TelephoneCountryCode TelephoneCountryCode | Expected input is the country code portion of a full telephone number. (For example, "1".) |
| TelephoneLocalNumber TelephoneLocalNumber TelephoneLocalNumber TelephoneLocalNumber | Expected input is the local number portion of a full telephone number. (For example, "555-5555".) |
| TelephoneNumber TelephoneNumber TelephoneNumber TelephoneNumber | Expected input is a full telephone number. (For example, "1(800)555-5555".) |
| Text Text Text Text | Expected input is text; turns on typing intelligence. |
| Time Time Time Time | Expected input is a time value. |
| TimeHour TimeHour TimeHour TimeHour | Expected input is the hour portion of a time value. |
| TimeMinuteOrSecond TimeMinuteOrSecond TimeMinuteOrSecond TimeMinuteOrSecond | Expected input is the minute or second portion of a time value. |
| Url Url Url Url | Expected input is a URL. |
| UserName UserName UserName UserName | Expected input is a log-in name and a domain (<accountname> or <domain><accountname>). |