.NET MAUI ComboBox Keyboard Support
The Telerik UI for .NET MAUI ComboBox provides keyboard navigation support on WinUI
and MacCatalyst
.
Keyboard support is available only on .NET 8.0.
The following table lists the actions and keyboard combinations that are available in the ComboBox:
Hotkey Combinations | Action |
---|---|
F4 |
Shows the drop-down if it is closed. If the drop-down is opened pressing the F4 key will submit the selection and close the drop-down. |
Up Arrow / Down Arrow
|
If the drop-down is opened, pressing Up/Down Arrows will change the highlighted item in the drop-down list. If it is closed pressing Up/Down Arrows will change the SelectedItem. |
Left Arrow / Right Arrow
|
If the drop-down is opened, pressing Left/Right Arrows will change the highlighted item in the drop-down list. If it is closed pressing Left/Right Arrows will change the SelectedItem. They work only when IsEditable is False . |
Enter |
Takes effect only when the drop-down of the ComboBox is opened. Commits the selection and closes the drop-down. |
Esc |
Takes effect only when the drop-down is opened. It cancels the selection and closes the drop-down of the ComboBox.Esc key is not supported in MacOS when IsEditable is True . |
Home / End
|
Works only when IsEditable is False . When the drop-down is opened pressing the Home/End keys will change the highlighted item to the first/last item. If the drop-down is closed pressing the Home/End keys will change the selected item to the first/last item. |
PageUp / PageDown
|
Pressing any of these keys will open the drop-down when it is closed. If the drop-down is opened pressing PageUp/PageDown will change the highlighted item. |
On MacOS when
IsEditable
property of the ComboBox isTrue
,Command
key should be pressed to enable the previously described hotkeys.