Skip to main content

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

Initializes a new instance of the DXMouseEventArgs class with the specified parameters.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

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

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.

See Also