Click or drag to resize

KeyEvent Structure

Version 108.4.130
Class representing a a keyboard event.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 108.4.130.0 (108.4.130.0)
Syntax
public struct KeyEvent

The KeyEvent type exposes the following members.

Properties
  NameDescription
Public propertyFocusOnEditableField
True if the focus is currently on an editable field on the page. This is useful for determining if standard key events should be intercepted.
Public propertyIsSystemKey
Indicates whether the event is considered a "system key" event (see http://msdn.microsoft.com/en-us/library/ms646286(VS.85).aspx for details). This value will always be false on non-Windows platforms.
Public propertyModifiers
Bit flags describing any pressed modifier keys. See cef_event_flags_t for values.
Public propertyNativeKeyCode
The actual key code genenerated by the platform.
Public propertyType
The type of keyboard event.
Public propertyWindowsKeyCode
The Windows key code for the key event. This value is used by the DOM specification. Sometimes it comes directly from the event (i.e. on Windows) and sometimes it's determined using a mapping function. See WebCore/platform/chromium/KeyboardCodes.h for the list of values.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
See Also