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

DXMouseEventArgs.GetMouseArgs(Control, EventArgs) Method

Converts the MouseEventArgs object passed as a parameter to a DXMouseEventArgs object.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public static DXMouseEventArgs GetMouseArgs(
    Control control,
    EventArgs eventArgs
)

Parameters

Name Type Description
control Control

A Control descendant.

eventArgs EventArgs

A MouseEventArgs object which contains data for the mouse events.

Returns

Type Description
DXMouseEventArgs

A DXMouseEventArgs object which provides data for the mouse events.

Remarks

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetMouseArgs(Control, EventArgs) method.

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