DXMouseEventArgs.GetMouseArgs(Control, EventArgs) Method

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

Namespace: DevExpress.Utils

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

See Also