Defines the available keyboard commands that can be customized in the ContextMenu.
Each command corresponds to a specific action that can be triggered via keyboard shortcuts.
Use these values in the CustomKeyboardShortcuts parameter of TelerikContextMenu.
Definition
Namespace:Telerik.Blazor
Assembly:Telerik.Blazor.dll
Syntax:
public enum ContextMenuKeyboardCommand
Fields
Activate the focused item (trigger its click handler or open its sub-menu if it has no click handler). Default shortcuts: Enter, Space.
ActivateItem = 6
Close the current level. At the root level, closes the entire popup and returns focus to the trigger element. Inside a sub-menu, closes that sub-menu and returns focus to the parent item. Default shortcut: Escape.
CloseMenu = 7
Navigate to the next sibling item. Default shortcut: ArrowDown.
NavigateDown = 1
Navigate to the first sibling item. Default shortcut: Home.
NavigateToFirst = 2
Navigate to the last sibling item. Default shortcut: End.
NavigateToLast = 3
Close the current sub-menu and navigate to the parent item. Default shortcut: ArrowLeft (ArrowRight in RTL). Only applies to items inside a sub-menu.
NavigateToParent = 4
Navigate to the previous sibling item. Default shortcut: ArrowUp.
NavigateUp = 0
Open the sub-menu for the focused item and navigate to its first child. Default shortcut: ArrowRight (ArrowLeft in RTL). Only applies to items with children.
OpenSubmenu = 5