IMenuModelGetAccelerator Method  | 
Version 106.0.290 
            Retrieves the keyboard accelerator for the specified commandId. 
            
 
    Namespace: 
   CefSharp
    Assembly:
   CefSharp (in CefSharp.dll) Version: 106.0.290.0 (106.0.290.0)
Syntaxbool 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
 - Type: CefSharpCefMenuCommand
the command Id - keyCode
 - Type: SystemInt32
keyCode can be any key or character value.  - shiftPressed
 - Type: SystemBoolean
shift key pressed - ctrlPressed
 - Type: SystemBoolean
ctrl key pressed - altPressed
 - Type: SystemBoolean
alt key pressed 
Return Value
Type: 
BooleanReturns true on success.
See Also