File

src/components/kendoUI/baseComponents/mouseEventArgs/MouseEventArgs.ts

Extends

EventData

Index

Properties
Accessors

Constructor

constructor(event: any, Id: string, target: ControlComponent, mapperId?: string)
Parameters :
Name Type Optional
event any No
Id string No
target ControlComponent No
mapperId string Yes

Properties

Private _button
Type : MouseButtons
Private _x
Type : number
Private _y
Type : number
Private buttonsValueFromJs
Type : IButtonJsToWinForms
Default value : { 0: 0, 1: 1048576, 2: 2097152, 4: 4194304, 8: 8388608, 16: 16777216 }
Private target
Type : ControlComponent
args
Type : any
event
Type : any
Id
Type : string
mapperId
Type : string

Accessors

x
getx()

Gets the x-coordinate of the mouse during the generating mouse event.

Returns : number
setx(value: number)

Set the x-coordinate

Parameters :
Name Type Optional Description
value number No

coordinate X od the mouse

Returns : void
y
gety()

Gets the y-coordinate of the mouse during the generating mouse event.

Returns : number
sety(value: number)

Set the y-coordinate

Parameters :
Name Type Optional Description
value number No

coordinate y od the mouse

Returns : void
button
getbutton()

Gets which mouse button was pressed.

Returns : MouseButtons

results matching ""

    No results matching ""