Skip to main content
A newer version of this page is available. .

DXMouseEventArgs Class

Provides data for mouse events.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v18.1.dll

Declaration

public class DXMouseEventArgs :
    HandledMouseEventArgs

The following members accept/return DXMouseEventArgs objects:

Remarks

The DXMouseEventArgs class is derived from the MouseEventArgs class and extends its functionality by introducing the DXMouseEventArgs.Handled property. This property allows a mouse event to be suppressed. This can be useful when specific actions need to be performed within the mouse event handler without the mouse event being processed by the control.

To gain access to an instance of the DXMouseEventArgs type, convert a mouse event’s arguments to the DXMouseEventArgs type using the DXMouseEventArgs.GetMouseArgs static method.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DXMouseEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also