IMenuModelSetAcceleratorAt Method |
Version 130.1.90
Set the keyboard accelerator at the specified index. keyCode can be any key or character value.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax bool SetAcceleratorAt(
int index,
int keyCode,
bool shiftPressed,
bool ctrlPressed,
bool altPressed
)
bool SetAcceleratorAt(
int index,
int keyCode,
bool shiftPressed,
bool ctrlPressed,
bool altPressed
)
Parameters
- index Int32
- index
- 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