Click or drag to resize

CefMenuModelSetAccelerator Method

Set the keyboard accelerator for the specified |commandId|. |key_code| can be any virtual key or character value. Returns true on success.

Namespace: Internal.Xilium.CefGlue
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public bool SetAccelerator(
	int commandId,
	int keyCode,
	bool shiftPressed,
	bool ctrlPressed,
	bool altPressed
)

Parameters

commandId  Int32
 
keyCode  Int32
 
shiftPressed  Boolean
 
ctrlPressed  Boolean
 
altPressed  Boolean
 

Return Value

Boolean
See Also