CoreTextInputScope Enum

Definition

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 CoreTextInputScope
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CoreTextInputScope
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CoreTextInputScope
var value = Windows.UI.Text.Core.CoreTextInputScope.default
Public Enum CoreTextInputScope
Inheritance
CoreTextInputScope
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Address 13

Expected input is a full postal address. (For example, "One Microsoft Way, Redmond, WA 98052, U.S.A.")

AddressCity 17

Expected input is the city portion a full address. (For example, "Redmond".)

AddressCountryName 18

Expected input is the country name portion a full address. (For example, "United States of America".)

AddressCountryShortName 19

Expected input is the country abbreviation portion a full address. (For example, "U.S.A.")

AddressPostalCode 14

Expected input is the postal code (or zip code) portion a full address. (For example, "98052".)

AddressStateOrProvince 16

Expected input is the state or province portion a full address. (For example, "WA".)

AddressStreet 15

Expected input is the street portion a full address. (For example, "Microsoft Way".)

AlphanumericFullWidth 41

Expected input is full-width alphanumeric characters.

AlphanumericHalfWidth 40

Expected input is half-width alphanumeric characters.

Bopomofo 43

Expected input is the Bopomofo Mandarin Chinese phonetic transcription system.

Chat 58

Expected input is chat strings.

ChatWithoutEmoji 68

Expected input does not include emoji. Advises input processors to not display the emoji key.

ChineseFullWidth 54

Expected input is Chinese full-width characters.

ChineseHalfWidth 53

Expected input is Chinese half-width characters.

CurrencyAmount 21

Expected input is an amount of currency.

CurrencyAmountAndSymbol 20

Expected input is an amount of currency and a currency symbol.

CurrencyChinese 42

Expected input is Chinese currency.

Date 22

Expected input is a calendar date.

DateDay 24

Expected input is the numeric day portion of a calendar date.

DateDayName 27

Expected input is the alphabetic name of the day from a calendar date.

DateMonth 23

Expected input is the numeric month portion of a calendar date.

DateMonthName 26

Expected input is the alphabetic name of the month from a calendar date.

DateYear 25

Expected input is the year portion of a calendar date.

Default 0

No input scope is applied.

Digits 28

Expected input includes positive whole numbers, constrained to 0-9.

EmailAddress 5

Expected input is an SMTP form email address (<accountname>@<host>).

EmailUserName 4

Expected input is the account name portion of an email address.

EmailUserNameOrAddress 60

Expected input is an email user name (<accountname>) or full email address (<accountname>@<host>).

FileName 3

Expected input is characters used in describing a file name.

FilePath 2

Expected input is characters used in describing a file path.

Formula 51

Expected input is a mathematical formula.

FormulaNumber 67

Expected input is a mathematical formula. Advises input processors to show the number page.

HangulFullWidth 49

Expected input is Hangul full-width characters.

HangulHalfWidth 48

Expected input is Hangul half-width characters.

Hanja 47

Expected input is Hanja characters.

Hiragana 44

Expected input is Hiragana characters.

KatakanaFullWidth 46

Expected input is Katakana full-width characters.

KatakanaHalfWidth 45

Expected input is Katakana half-width characters.

Maps 62

Expected input is from the device's Maps layout; does not include typing intelligence.

NameOrPhoneNumber 59

Expected input is a name or a telephone number.

NativeScript 55

Expected input is native script.

Number 29

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 39

Expected input is full-width number characters.

Password 31

Expected input is a password.

PasswordNumeric 63

Expected input is a numeric password, or PIN.

PersonalFullName 7

Expected input is a person’s full name, including prefix, given name, middle name, surname, and suffix.

PersonalGivenName 9

Expected input is the given (or first) name portion of a person’s full name.

PersonalMiddleName 10

Expected input is the middle name portion of a person’s full name.

PersonalNamePrefix 8

Expected input is the prefix portion of a person’s full name. (For example, "Mr.")

PersonalNameSuffix 12

Expected input is the suffix portion of a person’s full name. (For example, "Jr.")

PersonalSurname 11

Expected input is the family (or last) name portion of a person’s full name.

PinAlphanumeric 65

Expected input is an alphanumeric password, or PIN. Typically constrained to 5-6 characters.

PinNumeric 64

Expected input is an numeric password, or PIN. Typically constrained to 5-6 digits.

Private 61

Expected input is private data. Advises input processors that the text should not be stored nor logged.

50

Expected input is a search string.

SearchIncremental 52

Expected input is a search string. Use for search boxes where incremental results are displayed as the user types.

SingleCharacter 30

Expected input is a single ANSI character, codepage 1252.

TelephoneAreaCode 34

Expected input is the area code portion of a full telephone number. (For example, "(800)".)

TelephoneCountryCode 33

Expected input is the country code portion of a full telephone number. (For example, "1".)

TelephoneLocalNumber 35

Expected input is the local number portion of a full telephone number. (For example, "555-5555".)

TelephoneNumber 32

Expected input is a full telephone number. (For example, "1(800)555-5555".)

Text 57

Expected input is text; turns on typing intelligence.

Time 36

Expected input is a time value.

TimeHour 37

Expected input is the hour portion of a time value.

TimeMinuteOrSecond 38

Expected input is the minute or second portion of a time value.

Url 1

Expected input is a URL.

UserName 6

Expected input is a log-in name and a domain (<accountname> or <domain>&lt;accountname>).

Remarks

Version history

Windows version SDK version Value added
1607 14393 ChatWithoutEmoji
1709 16299 Digits
1709 16299 PinAlphanumeric
1709 16299 PinNumeric

Applies to

See also