IMenuModelGetAccelerator Method |
Version 130.1.90
Retrieves the keyboard accelerator for the specified commandId.
Namespace: CefSharpAssembly: 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
)
bool GetAccelerator(
CefMenuCommand commandId,
[OutAttribute] int% keyCode,
[OutAttribute] bool% shiftPressed,
[OutAttribute] bool% ctrlPressed,
[OutAttribute] 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
BooleanReturns true on success.
See Also