CefKeyboardHandler OnPreKeyEvent Method Xilium.CefGlue

[This is preliminary documentation and is subject to change.]

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: Xilium.CefGlue
Assembly: Xilium.CefGlue (in Xilium.CefGlue.dll) Version: 3.2272.2035.0 (3.2272.2035.0)
Syntax

protected virtual bool OnPreKeyEvent(
	CefBrowser browser,
	CefKeyEvent keyEvent,
	IntPtr os_event,
	out bool isKeyboardShortcut
)

Parameters

browser
Type: Xilium.CefGlue CefBrowser

[Missing <param name="browser"/> documentation for "M:Xilium.CefGlue.CefKeyboardHandler.OnPreKeyEvent(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefKeyEvent,System.IntPtr,System.Boolean@)"]

keyEvent
Type: Xilium.CefGlue CefKeyEvent

[Missing <param name="keyEvent"/> documentation for "M:Xilium.CefGlue.CefKeyboardHandler.OnPreKeyEvent(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefKeyEvent,System.IntPtr,System.Boolean@)"]

os_event
Type: OnlineSystem IntPtr

[Missing <param name="os_event"/> documentation for "M:Xilium.CefGlue.CefKeyboardHandler.OnPreKeyEvent(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefKeyEvent,System.IntPtr,System.Boolean@)"]

isKeyboardShortcut
Type: OnlineSystem Boolean 

[Missing <param name="isKeyboardShortcut"/> documentation for "M:Xilium.CefGlue.CefKeyboardHandler.OnPreKeyEvent(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefKeyEvent,System.IntPtr,System.Boolean@)"]

Return Value

Type: OnlineBoolean

[Missing <returns> documentation for "M:Xilium.CefGlue.CefKeyboardHandler.OnPreKeyEvent(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefKeyEvent,System.IntPtr,System.Boolean@)"]

See Also