Class representing a scriptable key event that can be sent to a browser window.
Inheritance Hierarchy
ArtOfTest.WebAii.JavascriptScriptEvent
ArtOfTest.WebAii.JavascriptScriptUIEvent
ArtOfTest.WebAii.JavascriptKeyEvent
Namespace: ArtOfTest.WebAii.Javascript
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The KeyEvent type exposes the following members.
Constructors
Name | Description | |
---|---|---|
KeyEvent |
Initializes a new KeyEvent object.
| |
KeyEvent(String) |
Initializes a new KeyEvent object.
| |
KeyEvent(String, Char) |
Initializes a new KeyEvent object.
|
Properties
Name | Description | |
---|---|---|
CanBubble |
Gets / Sets whether this event can bubble
(Inherited from ScriptEvent.) | |
IsCancelable |
Gets / Sets whether this event can be cancelled
(Inherited from ScriptEvent.) | |
KeyCode |
Gets / Sets the character code for this event
| |
ModifierKeys |
Gets / Sets the modifier keys bitmask
(Inherited from ScriptUIEvent.) | |
Type |
The type of this event, for standard event types.
TODO Make it so we can define custom event types
(Inherited from ScriptEvent.) |
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (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 | Returns a string that represents the current object. (Inherited from Object.) |
See Also