Occurs after an in-place editor is closed and a modified cell value is applied or canceled.
public event RowEditingEventHandler EndRowEdit
The EndRowEdit event handler receives an argument of the RowEditingEventArgs type. The following properties provide information specific to this event.
|Action||Indicates whether a user has closed an in-place editor to apply or cancel the modified cell value.|
Gets the grid's row handle.
(Inherited from RowEventArgs)
|SourceRowIndex||Gets the index of the data source's record to which the grid's row corresponds.|
You can handle the EndRowEdit event to obtain a cell value that a user edited in the in-place editor. To do this, use the DataGridView.GetRow method with the passed row handle that the event's RowHandle parameter returns.