Compartilhar via


InputTypes Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Widget.SearchView.SetInputType, and F:Android.Widget.TextView.SetRawInputType members.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum InputTypes
[<System.Flags>]
type InputTypes = 
Inheritance
InputTypes
Attributes

Fields

Name Value Description
DatetimeVariationNormal 0
Null 0
NumberVariationNormal 0
TextVariationNormal 0
ClassText 1
ClassNumber 2
ClassPhone 3
ClassDatetime 4
MaskClass 15
DatetimeVariationDate 16
NumberVariationPassword 16
TextVariationUri 16
DatetimeVariationTime 32
TextVariationEmailAddress 32
TextVariationEmailSubject 48
TextVariationShortMessage 64
TextVariationLongMessage 80
TextVariationPersonName 96
TextVariationPostalAddress 112
TextVariationPassword 128
TextVariationVisiblePassword 144
TextVariationWebEditText 160
TextVariationFilter 176
TextVariationPhonetic 192
TextVariationWebEmailAddress 208
TextVariationWebPassword 224
MaskVariation 4080
NumberFlagSigned 4096
TextFlagCapCharacters 4096
NumberFlagDecimal 8192
TextFlagCapWords 8192
TextFlagCapSentences 16384
TextFlagAutoCorrect 32768
TextFlagAutoComplete 65536
TextFlagMultiLine 131072
TextFlagImeMultiLine 262144
TextFlagNoSuggestions 524288
TextFlagEnableTextConversionSuggestions 1048576
MaskFlags 16773120

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to