Class
JavascriptEventArgs

Provides data to the Javascript event handler

Definition

Namespace:ArtOfTest.WebAii.Javascript

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public class JavascriptEventArgs : EventArgs

Inheritance: objectEventArgsJavascriptEventArgs

Inherited Members EventArgs.Empty

Properties

CharCode

Gets the Unicode value of a printable character that was entered

Declaration

cs-api-definition
public int CharCode { get; }

Property Value

int

ClientX

Gets the horizontal cursor position in browser-relative coordinates

Declaration

cs-api-definition
public int ClientX { get; }

Property Value

int

ClientY

Gets the vertical cursor position in browser-relative coordinates

Declaration

cs-api-definition
public int ClientY { get; }

Property Value

int

KeyCode

Gets the Unicode (or something) value of the key that was pressed

Declaration

cs-api-definition
public int KeyCode { get; }

Property Value

int

ModifierKeys

Gets the modifier keys that were active during the event

Declaration

cs-api-definition
public ModifierKeys ModifierKeys { get; }

Property Value

ModifierKeys

ScreenX

Gets the horizontal cursor position in screen coordinates

Declaration

cs-api-definition
public int ScreenX { get; }

Property Value

int

ScreenY

Gets the vertical cursor position in screen coordinates

Declaration

cs-api-definition
public int ScreenY { get; }

Property Value

int

Type

Gets the type of the event

Declaration

cs-api-definition
public string Type { get; }

Property Value

string