IMenuModelSetAcceleratorAt Method |
Version 84.4.10
Set the keyboard accelerator at the specified index. keyCode can be any key or character value.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 84.4.10.0 (84.4.10.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
- 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