Click or drag to resize

IMenuModelGetAccelerator Method

Version 130.1.90
Retrieves the keyboard accelerator for the specified commandId.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
bool GetAccelerator(
	CefMenuCommand commandId,
	out int keyCode,
	out bool shiftPressed,
	out bool ctrlPressed,
	out bool altPressed
)

Parameters

commandId  CefMenuCommand
the command Id
keyCode  Int32
keyCode can be any key or character value.
shiftPressed  Boolean
shift key pressed
ctrlPressed  Boolean
ctrl key pressed
altPressed  Boolean
alt key pressed

Return Value

Boolean
Returns true on success.
See Also