Click or drag to resize

CefKeyboardHandlerOnPreKeyEvent Method

Called before a keyboard event is sent to the renderer. |event| contains information about the keyboard event. |os_event| is the operating system event message, if any. Return true if the event was handled or false otherwise. If the event will be handled in OnKeyEvent() as a keyboard shortcut set |is_keyboard_shortcut| to true and return false.

Namespace: Internal.Xilium.CefGlue
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
protected virtual bool OnPreKeyEvent(
	CefBrowser browser,
	CefKeyEvent keyEvent,
	IntPtr os_event,
	out bool isKeyboardShortcut
)

Parameters

browser  CefBrowser
 
keyEvent  CefKeyEvent
 
os_event  IntPtr
 
isKeyboardShortcut  Boolean
 

Return Value

Boolean
See Also