Skip to main content
Version: 3.5

DataGridViewCellMouseEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.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.CellMouseMoveFired when the mouse pointer moves over the DataGridView control.
DataGridView.CellMouseDownFired when the user presses a mouse button while the pointer is within the boundaries of a cell.
DataGridView.CellMouseUpFired when the user releases a mouse button while over a cell.
DataGridView.RowHeaderMouseClickFired when the user clicks within the boundaries of a row header.
DataGridView.RowHeaderMouseDoubleClickFired when a row header is double-clicked.
DataGridView.ColumnHeaderMouseClickFired when the user clicks a column header.
DataGridView.ColumnHeaderMouseDoubleClickFired when a column header is double-clicked.