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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
protected virtual bool OnPreKeyEvent(
	CefBrowser browser,
	CefKeyEvent keyEvent,
	IntPtr os_event,
	out bool isKeyboardShortcut
)

Parameters

browser
Type: Internal.Xilium.CefGlueCefBrowser
keyEvent
Type: Internal.Xilium.CefGlueCefKeyEvent
os_event
Type: SystemIntPtr
isKeyboardShortcut
Type: SystemBoolean

Return Value

Type: Boolean
See Also