Class
ScriptUIEvent

Class representing a scriptable UI event. Used as the base class for MouseEvent and KeyEvent.

Definition

Namespace:ArtOfTest.WebAii.Javascript

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
[DataContract]
[KnownType(typeof(MouseEvent))]
[KnownType(typeof(KeyEvent))]
public class ScriptUIEvent : ScriptEvent

Inheritance: objectScriptEventScriptUIEvent

Derived Classes: KeyEventMouseEvent

Inherited Members ScriptEvent.CanBubbleScriptEvent.IsCancelableScriptEvent.Type

Constructors

ScriptUIEvent()

Initializes a new ScriptUIEvent object.

Declaration

cs-api-definition
public ScriptUIEvent()

ScriptUIEvent(string)

Creates a UI event of the given type, with other parameters set to default values

Declaration

cs-api-definition
public ScriptUIEvent(string type)

Parameters

type

string

The type of the event

Properties

ModifierKeys

Gets / Sets the modifier keys bitmask

Declaration

cs-api-definition
[DataMember(Name = "modifiers")]
public ModifierKeys ModifierKeys { get; set; }

Property Value

ModifierKeys