Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.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