Click or drag to resize

CommonHelperCheckContextMenuForShortcut Method

Check a short cut menu for a matching short and invoke that item if found.

Namespace: Internal.ComponentFactory.Krypton.Toolkit
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static bool CheckContextMenuForShortcut(
	ContextMenuStrip cms,
	ref Message msg,
	Keys keyData
)

Parameters

cms  ContextMenuStrip
ContextMenuStrip instance to check.
msg  Message
Windows message that generated check.
keyData  Keys
Keyboard shortcut to check.

Return Value

Boolean
True if shortcut processed; otherwise false.
See Also