DataGridViewCellCancelEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the CellBeginEdit and RowValidating events of a DataGridView.
- C#
- VB.NET
public delegate void DataGridViewCellCancelEventHandler(Object sender, DataGridViewCellCancelEventArgs e)
Public Delegate Sub DataGridViewCellCancelEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellCancelEventArgs)
Parameters
| Name | Type | Description |
|---|---|---|
| sender | Object | The source of the event. |
| e | DataGridViewCellCancelEventArgs | A DataGridViewCellCancelEventArgs that contains the event data. |
Fired By
| Name | Description |
|---|---|
| DataGridView.TopLeftHeaderClick | Fired when the user presses a mouse button while the pointer is on the top-left corner cell. |
| DataGridView.CellBeginEdit | Fired when edit mode starts for the selected cell. |
| DataGridView.RowValidating | Fired when a row is validating. |