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

The WebKeyboardEvent type exposes the following members.

Properties

  NameDescription
Public propertyIsSystemKey
Gets or sets if the pressed key is a "system key".
Public propertyKeyIdentifier
Gets or sets a string identifying the key that was pressed.
Public propertyModifiers
Gets or sets the current state of the keyboard.
Public propertyNativeKeyCode
Gets or sets the actual key-code generated by the platform.
Public propertyText
Gets or sets the actual text generated by this keyboard event. This is usually only a single character but we're generous and cap it at a max of 4 characters.
Public propertyType
Gets or sets the type of this WebKeyboardEvent.
Public propertyUnmodifiedText
Gets or sets the text generated by this keyboard event before all modifiers except shift are applied.
Public propertyVirtualKeyCode
Gets or sets the virtual key-code associated with this keyboard event. This is either directly from the event (ie, WPARAM on Windows) or via a mapping function.

See Also