A newer version of this page is available. Switch to the current version.

DXMouseEventArgs(MouseButtons, Int32, Int32, Int32, Int32, Boolean) Constructor

Initializes a new instance of the DXMouseEventArgs class.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.2.dll

Declaration

public DXMouseEventArgs(
    MouseButtons buttons,
    int clicks,
    int x,
    int y,
    int delta,
    bool handled
)

Parameters

Name Type Description
buttons MouseButtons

A MouseButtons enumeration value that defines which mouse button was pressed. This value is assigned to the Button property.

clicks Int32

An integer value which specifies the number of times the mouse button was pressed and released. This value is assigned to the Clicks property.

x Int32

An integer value which specifies the x-coordinate of a mouse click, in pixels. This value is assigned to the X property.

y Int32

An integer value which specifies the y-coordinate of a mouse click, in pixels. This value is assigned to the Y property.

delta Int32

An integer value which specifies a signed count of the number of detents the mouse wheel has rotated. This value is assigned to the Delta property.

handled Boolean

true if the event hasn't been handled by a control; otherwise, false. This value is assigned to the DXMouseEventArgs.Handled property.

See Also