Click or drag to resize

KeyboardHandler Class

Version 96.0.142
Inherit from this class to handle events related to keyboard input.
Inheritance Hierarchy
SystemObject
  CefSharp.HandlerKeyboardHandler

Namespace:  CefSharp.Handler
Assembly:  CefSharp (in CefSharp.dll) Version: 96.0.142.0 (96.0.142.0)
Syntax
public class KeyboardHandler : IKeyboardHandler

The KeyboardHandler type exposes the following members.

Constructors
  NameDescription
Public methodKeyboardHandler
Initializes a new instance of the KeyboardHandler class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected 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.
Protected 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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also