Skip to main content
Version: 3.5

DataGridViewCellEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents the method that will handle DataGridView events related to cell and row operations.

public delegate void DataGridViewCellEventHandler(Object sender, DataGridViewCellEventArgs e)

Parameters

NameTypeDescription
senderObjectThe source of the event.
eDataGridViewCellEventArgsA DataGridViewCellEventArgs that contains the event data.

Fired By

NameDescription
DataGridView.CellClickFired when any part of a cell is clicked.
DataGridView.CellValueChangedFired when the value of a cell changes.
DataGridView.CellCommandChangedFired when the command of a cell changes.
DataGridView.CellStyleChangedFired when the Style property of a DataGridViewCell changes.
DataGridView.CellEndEditFired when edit mode stops for the current cell.
DataGridView.CellEnterFired when the current cell changes in the DataGridView control or when the control receives input focus.
DataGridView.CellLeaveFired when a cell loses input focus and is no longer the current cell.
DataGridView.CellValidatedOccurs after the cell has finished validating.
DataGridView.RowEnterFired when a row receives input focus but before it becomes the current row.
DataGridView.RowLeaveFired when a row loses input focus and is no longer the current row.
DataGridView.RowValidatedOccurs after a row has finished validating.
DataGridView.CellDoubleClickFired when the user double-clicks anywhere in a cell.
DataGridView.CellMouseEnterFired when the mouse pointer enters a cell.
DataGridView.CellMouseLeaveFired when the mouse pointer leaves a cell.
DataGridView.CellErrorTextChangedFired when the value of the ErrorText property of a cell changes.
DataGridView.CellToolTipTextChangedFired when the value of the ToolTipText property of a cell changes.
DataGridView.LastCellTabFired when the user tabs past the last cell.