IMenuModelGetAcceleratorAt Method |
Version 51.0.0
Retrieves the keyboard accelerator for the specified index.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 51.0.0.0 (51.0.0.0)
Syntax bool GetAcceleratorAt(
int index,
out int keyCode,
out bool shiftPressed,
out bool ctrlPressed,
out bool altPressed
)
bool GetAcceleratorAt(
int index,
[OutAttribute] int% keyCode,
[OutAttribute] bool% shiftPressed,
[OutAttribute] bool% ctrlPressed,
[OutAttribute] bool% altPressed
)
Parameters
- index
- Type: SystemInt32
index - 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