Click or drag to resize
CfxKeyEvent Class

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

Structure representing keyboard event information.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxStructure
      ChromiumCfxKeyEvent

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public sealed class CfxKeyEvent : CfxStructure

The CfxKeyEvent type exposes the following members.

Constructors
  NameDescription
Public methodCfxKeyEvent
Initializes a new instance of the CfxKeyEvent class
Top
Properties
  NameDescription
Public propertyCharacter
The character generated by the keystroke.
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 CfxEventFlags for values.
Public propertyNativeKeyCode
The actual key code genenerated by the platform.
Public propertyType
The type of keyboard event.
Public propertyUnmodifiedCharacter
Same as |character| but unmodified by any concurrently-held modifiers (except shift). This is useful for working out shortcut keys.
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
Remarks
See also the original CEF documentation in cef/include/internal/cef_types.h.
See Also