'Declaration
Public Event AfterDeleteRow As RowColEventHandler
public event RowColEventHandler AfterDeleteRow
Event Data
The event handler receives an argument of type RowColEventArgs containing data related to this event. The following RowColEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the operation should be canceled. |
Col | Gets the index of the column that caused the event. |
Row | Gets the index of the row that caused the event. |
Remarks
This event only fires when AllowDelete property is set to True and the user deletes one or more rows by pressing the DEL key. It does not fire when rows are removed from the grid programmatically or through the grid's data source.
When this event fires, the rows have already been removed from the grid, so the Row parameter is always set to E.
See Also