src/components/kendoUI/baseComponents/mouseEventArgs/MouseEventArgs.ts
Properties |
Accessors |
constructor(event: any, Id: string, target: ControlComponent, mapperId?: string)
|
|||||||||||||||
Parameters :
|
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
|
x | ||||||||
getx()
|
||||||||
Gets the x-coordinate of the mouse during the generating mouse event.
Returns :
number
|
||||||||
setx(value: number)
|
||||||||
Set the x-coordinate
Parameters :
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 :
Returns :
void
|
button |
getbutton()
|
Gets which mouse button was pressed.
Returns :
MouseButtons
|