Click or drag to resize

KeyEvent Structure

Version 130.1.90
Class representing a a keyboard event.
Inheritance Hierarchy
SystemObject
  SystemValueType
    CefSharpKeyEvent

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.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 methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
See Also