New to Telerik UI for BlazorStart a free 30-day trial

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:

C#
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.

C#
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.

C#
CloseMenu = 7

Navigate to the next sibling item. Default shortcut: ArrowDown.

C#
NavigateDown = 1

Navigate to the first sibling item. Default shortcut: Home.

C#
NavigateToFirst = 2

Navigate to the last sibling item. Default shortcut: End.

C#
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.

C#
NavigateToParent = 4

Navigate to the previous sibling item. Default shortcut: ArrowUp.

C#
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.

C#
OpenSubmenu = 5