[This is preliminary documentation and is subject to change.]
The CefKeyEvent type exposes the following members.Constructors
Name | Description | |
---|---|---|
CefKeyEvent | Initializes a new instance of the CefKeyEvent class |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Character |
The character generated by the keystroke.
| |
EventType |
The type of keyboard event.
| |
FocusOnEditableField |
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.
| |
IsSystemKey |
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.
| |
Modifiers |
Bit flags describing any pressed modifier keys. See
cef_event_flags_t for values.
| |
NativeKeyCode |
The actual key code genenerated by the platform.
| |
UnmodifiedCharacter |
Same as |character| but unmodified by any concurrently-held modifiers
(except shift). This is useful for working out shortcut keys.
| |
WindowsKeyCode |
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.
|
See Also