xtd 0.2.0
Loading...
Searching...
No Matches

◆ mouse_event_args() [2/3]

xtd::forms::mouse_event_args::mouse_event_args ( mouse_buttons  button,
int32  clicks,
int32  x,
int32  y,
int32  delta 
)
inline

Initializes a new instance of the MouseEventArgs class.

Parameters
buttonOne of the xtd::forms::mouse_buttons values that indicate which mouse button was pressed.
clicksThe number of times a mouse button was pressed.
xThe x-coordinate of a mouse click, in pixels.
yThe y-coordinate of a mouse click, in pixels.
deltaA signed count of the number of detents the wheel has rotated.