Skip to main content
Version: 4.1

DataGridViewCellMouseEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents the method that will handle mouse-related events raised by a DataGridView.

public delegate void DataGridViewCellMouseEventHandler(Object sender, DataGridViewCellMouseEventArgs e)

Parameters

NameTypeDescription
senderObjectThe source of the event.
eDataGridViewCellMouseEventArgsA DataGridViewCellMouseEventArgs that contains the event data.

Fired By

NameDescription
DataGridView.CellMouseClickOccurs whenever the user clicks anywhere on a cell with the mouse.
DataGridView.CellMouseDoubleClickFired when a cell within the DataGridView is double-clicked.
DataGridView.CellMouseDownFired when the user presses a mouse button while the pointer is within the boundaries of a cell.
DataGridView.CellMouseMoveFired when the mouse pointer moves over the DataGridView control.
DataGridView.CellMouseUpFired when the user releases a mouse button while over a cell.
DataGridView.ColumnHeaderMouseClickFired when the user clicks a column header.
DataGridView.ColumnHeaderMouseDoubleClickFired when a column header is double-clicked.
DataGridView.RowHeaderMouseClickFired when the user clicks within the boundaries of a row header.
DataGridView.RowHeaderMouseDoubleClickFired when a row header is double-clicked.