BaseView.MouseUp Event

Occurs when the mouse button is released if it was pressed within a View.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DXCategory("Mouse")]
public event MouseEventHandler MouseUp
<DXCategory("Mouse")>
Public Event MouseUp As MouseEventHandler

Event Data

The MouseUp event's data class is MouseEventArgs. The following properties provide information specific to this event:

Property Description
Button Gets which mouse button was pressed.
Clicks Gets the number of times the mouse button was pressed and released.
Delta Gets a signed count of the number of detents the mouse wheel has rotated, multiplied by the WHEEL_DELTA constant. A detent is one notch of the mouse wheel.
Location Gets the location of the mouse during the generating mouse event.
X Gets the x-coordinate of the mouse during the generating mouse event.
Y Gets the y-coordinate of the mouse during the generating mouse event.

Remarks

If pressing the mouse button resulted in activating an inplace editor, the MouseUp event is not raised. If the mouse button was pressed within a detail View, the sender of the event identifies the clone of this View where the event has actually been raised.

Note that the BaseView.Click event also fires after the mouse button has been released. The difference is that the BaseView.Click event is only raised if the mouse pointer is within the View when releasing the mouse button.

See Also