Click or drag to resize
IKeyboardHandler Interface
Version 63.0.0
Implement this interface to handle events related to keyboard input.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax
public interface IKeyboardHandler

The IKeyboardHandler type exposes the following members.

Methods
  NameDescription
Public methodOnKeyEvent
Called after the renderer and JavaScript in the page has had a chance to handle the event. Return true if the keyboard event was handled or false otherwise.
Public methodOnPreKeyEvent
Called before a keyboard event is sent to the renderer. Return true if the event was handled or false otherwise. If the event will be handled in OnKeyEvent(IWebBrowser, IBrowser, KeyType, Int32, Int32, CefEventFlags, Boolean) as a keyboard shortcut set isKeyboardShortcut to true and return false.
Top
See Also