4 changed files with 76 additions and 9 deletions
@ -1,12 +1,62 @@ |
|||||
namespace Avalonia.Input.TextInput |
namespace Avalonia.Input.TextInput |
||||
{ |
{ |
||||
public enum TextInputContentType |
public enum TextInputContentType |
||||
{ |
{ |
||||
|
/// <summary>
|
||||
|
/// Default keyboard for the users configured input method.
|
||||
|
/// </summary>
|
||||
Normal = 0, |
Normal = 0, |
||||
Email = 1, |
|
||||
Phone = 2, |
/// <summary>
|
||||
Number = 3, |
/// Display a keyboard that only has alphabetic characters.
|
||||
Url = 4, |
/// </summary>
|
||||
Password = 5 |
Alpha, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Display a numeric keypad only capable of numbers. i.e. Phone number
|
||||
|
/// </summary>
|
||||
|
Digits, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Display a numeric keypad for inputting a PIN.
|
||||
|
/// </summary>
|
||||
|
Pin, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Display a numeric keypad capable of inputting numbers including decimal seperator and sign.
|
||||
|
/// </summary>
|
||||
|
Number, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Display a keyboard for entering an email address.
|
||||
|
/// </summary>
|
||||
|
Email, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Display a keyboard for entering a URL.
|
||||
|
/// </summary>
|
||||
|
Url, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Display a keyboard for entering a persons name.
|
||||
|
/// </summary>
|
||||
|
Name, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Display a keyboard for entering sensitive data.
|
||||
|
/// </summary>
|
||||
|
Password, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Display a keyboard suitable for #tag and @mentions.
|
||||
|
/// Not available on all platforms, will fallback to a suitable keyboard
|
||||
|
/// when not available.
|
||||
|
/// </summary>
|
||||
|
Social, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Display a keyboard for entering a search keyword.
|
||||
|
/// </summary>
|
||||
|
Search |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue