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.
- C#
- VB.NET
public delegate void DataGridViewCellEventHandler(Object sender, DataGridViewCellEventArgs e)
Public Delegate Sub DataGridViewCellEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellEventArgs)
Parameters
| Name | Type | Description |
|---|---|---|
| sender | Object | The source of the event. |
| e | DataGridViewCellEventArgs | A DataGridViewCellEventArgs that contains the event data. |
Fired By
| Name | Description |
|---|---|
| DataGridView.CellClick | Fired when any part of a cell is clicked. |
| DataGridView.CellValueChanged | Fired when the value of a cell changes. |
| DataGridView.CellCommandChanged | Fired when the command of a cell changes. |
| DataGridView.CellStyleChanged | Fired when the Style property of a DataGridViewCell changes. |
| DataGridView.CellEndEdit | Fired when edit mode stops for the current cell. |
| DataGridView.CellEnter | Fired when the current cell changes in the DataGridView control or when the control receives input focus. |
| DataGridView.CellLeave | Fired when a cell loses input focus and is no longer the current cell. |
| DataGridView.CellValidated | Occurs after the cell has finished validating. |
| DataGridView.RowEnter | Fired when a row receives input focus but before it becomes the current row. |
| DataGridView.RowLeave | Fired when a row loses input focus and is no longer the current row. |
| DataGridView.RowValidated | Occurs after a row has finished validating. |
| DataGridView.CellDoubleClick | Fired when the user double-clicks anywhere in a cell. |
| DataGridView.CellMouseEnter | Fired when the mouse pointer enters a cell. |
| DataGridView.CellMouseLeave | Fired when the mouse pointer leaves a cell. |
| DataGridView.CellErrorTextChanged | Fired when the value of the ErrorText property of a cell changes. |
| DataGridView.CellToolTipTextChanged | Fired when the value of the ToolTipText property of a cell changes. |
| DataGridView.LastCellTab | Fired when the user tabs past the last cell. |