Click or drag to resize
CfxOnKeyEventEventArgs Class

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

Called after the renderer and JavaScript in the page has had a chance to handle the event. |Event| contains information about the keyboard event. |OsEvent| is the operating system event message, if any. Return true (1) if the keyboard event was handled or false (0) otherwise.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ChromiumCfxEventArgs
      Chromium.EventCfxOnKeyEventEventArgs

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxOnKeyEventEventArgs : CfxEventArgs

The CfxOnKeyEventEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyBrowser
Get the Browser parameter for the OnKeyEvent callback.
Public propertyEvent
Get the Event parameter for the OnKeyEvent callback.
Public propertyOsEvent
Get the OsEvent parameter for the OnKeyEvent callback.
Top
Methods
  NameDescription
Public methodSetReturnValue
Set the return value for the OnKeyEvent callback. Calling SetReturnValue() more then once per callback or from different event handlers will cause an exception to be thrown.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_keyboard_handler_capi.h.
See Also