10 types derived from Keyboard
Microsoft.Maui (10)
Primitives\ChatKeyboard.cs (1)
3 internal sealed class ChatKeyboard : Keyboard
Primitives\CustomKeyboard.cs (1)
6 public sealed class CustomKeyboard : Keyboard
Primitives\DateTimeKeyboard.cs (3)
6sealed class DateKeyboard : Keyboard 11sealed class PasswordKeyboard : Keyboard 16sealed class TimeKeyboard : Keyboard
Primitives\EmailKeyboard.cs (1)
3 internal sealed class EmailKeyboard : Keyboard
Primitives\NumericKeyboard.cs (1)
3 internal sealed class NumericKeyboard : Keyboard
Primitives\TelephoneKeyboard.cs (1)
3 internal sealed class TelephoneKeyboard : Keyboard
Primitives\TextKeyboard.cs (1)
3 internal sealed class TextKeyboard : Keyboard
Primitives\UrlKeyboard.cs (1)
3 internal sealed class UrlKeyboard : Keyboard
1 instantiation of Keyboard
Microsoft.Maui (1)
Primitives\Keyboard.cs (1)
51 public static Keyboard Default => s_def ??= new Keyboard();
74 references to Keyboard
Microsoft.Maui (52)
Converters\KeyboardTypeConverter.cs (27)
28 var kbType = typeof(Keyboard); 32 if (field?.GetValue(null) is Keyboard kb) 36 if (property != null && property?.GetValue(null, null) is Keyboard propKb) 41 throw new InvalidOperationException(string.Format("Cannot convert \"{0}\" into {1}", strValue, typeof(Keyboard))); 46 if (!(value is Keyboard keyboard)) 49 if (keyboard == Keyboard.Plain) 50 return nameof(Keyboard.Plain); 51 if (keyboard == Keyboard.Chat) 52 return nameof(Keyboard.Chat); 53 if (keyboard == Keyboard.Default) 54 return nameof(Keyboard.Default); 55 if (keyboard == Keyboard.Email) 56 return nameof(Keyboard.Email); 57 if (keyboard == Keyboard.Numeric) 58 return nameof(Keyboard.Numeric); 59 if (keyboard == Keyboard.Telephone) 60 return nameof(Keyboard.Telephone); 61 if (keyboard == Keyboard.Text) 62 return nameof(Keyboard.Text); 63 if (keyboard == Keyboard.Url) 64 return nameof(Keyboard.Url); 65 if (keyboard == Keyboard.Date) 66 return nameof(Keyboard.Date); 67 if (keyboard == Keyboard.Time) 68 return nameof(Keyboard.Time); 69 if (keyboard == Keyboard.Password) 70 return nameof(Keyboard.Password);
Core\ITextInput.cs (1)
31 Keyboard Keyboard { get; }
Primitives\Keyboard.cs (24)
11 static Keyboard? s_plain; 13 static Keyboard? s_def; 15 static Keyboard? s_email; 17 static Keyboard? s_text; 19 static Keyboard? s_url; 21 static Keyboard? s_numeric; 23 static Keyboard? s_telephone; 25 static Keyboard? s_chat; 27 static Keyboard? s_date; 29 static Keyboard? s_time; 31 static Keyboard? s_password; 41 public static Keyboard Plain => s_plain ??= new CustomKeyboard(KeyboardFlags.None); 46 public static Keyboard Chat => s_chat ??= new ChatKeyboard(); 49 /// Gets an instance of type <see cref="Keyboard"/>. 51 public static Keyboard Default => s_def ??= new Keyboard(); 56 public static Keyboard Email => s_email ??= new EmailKeyboard(); 61 public static Keyboard Numeric => s_numeric ??= new NumericKeyboard(); 66 public static Keyboard Telephone => s_telephone ??= new TelephoneKeyboard(); 71 public static Keyboard Text => s_text ??= new TextKeyboard(); 76 public static Keyboard Url => s_url ??= new UrlKeyboard(); 81 public static Keyboard Date => s_date ??= new DateKeyboard(); 86 public static Keyboard Password => s_password ??= new PasswordKeyboard(); 91 public static Keyboard Time => s_time ??= new TimeKeyboard(); 99 public static Keyboard Create(KeyboardFlags flags)
Microsoft.Maui.Controls (22)
Cells\EntryCell.cs (4)
24 public static readonly BindableProperty KeyboardProperty = BindableProperty.Create(nameof(Keyboard), typeof(Keyboard), typeof(EntryCell), Keyboard.Default); 48 public Keyboard Keyboard 50 get { return (Keyboard)GetValue(KeyboardProperty); }
InputView\InputView.cs (6)
16 public static readonly BindableProperty KeyboardProperty = BindableProperty.Create(nameof(Keyboard), typeof(Keyboard), typeof(InputView), Keyboard.Default, 17 coerceValue: (o, v) => (Keyboard)v ?? Keyboard.Default); 80 public Keyboard Keyboard 82 get => (Keyboard)GetValue(KeyboardProperty);
Page\Page.cs (2)
363 public Task<string> DisplayPromptAsync(string title, string message, string accept = "OK", string cancel = "Cancel", string placeholder = null, int maxLength = -1, Keyboard keyboard = default(Keyboard), string initialValue = "")
PromptArguments.cs (4)
12 public PromptArguments(string title, string message, string accept = "OK", string cancel = "Cancel", string placeholder = null, int maxLength = -1, Keyboard keyboard = default(Keyboard), string initialValue = "") 21 Keyboard = keyboard ?? Keyboard.Default; 47 public Keyboard Keyboard { get; }
Shell\SearchHandler.cs (6)
98 public static readonly BindableProperty KeyboardProperty = BindableProperty.Create(nameof(Keyboard), typeof(Keyboard), typeof(SearchHandler), Keyboard.Default, coerceValue: (o, v) => (Keyboard)v ?? Keyboard.Default); 101 public Keyboard Keyboard 103 get { return (Keyboard)GetValue(KeyboardProperty); }