Skip to main content

TextInputContentType Enumeration

Definition

Namespace: Avalonia.Input.TextInput
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public enum TextInputContentType
View Source

Members

Normal0Default keyboard for the users configured input method.
Alpha1Display a keyboard that only has alphabetic characters.
Digits2Display a numeric keypad only capable of numbers. i.e. Phone number
Pin3Display a numeric keypad for inputting a PIN.
Number4Display a numeric keypad capable of inputting numbers including decimal seperator and sign.
Email5Display a keyboard for entering an email address.
Url6Display a keyboard for entering a URL.
Name7Display a keyboard for entering a persons name.
Password8Display a keyboard for entering sensitive data.
Social9Display a keyboard suitable for #tag and @mentions. Not available on all platforms, will fallback to a suitable keyboard when not available.
Search10Display a keyboard for entering a search keyword.

See Also

Reference

Avalonia.Input.TextInput Namespace