[]
Occurs when a cell edit is ending.
public event EventHandler<CellEditEventArgs> CellEditEnding
Type | Description |
---|---|
EventHandler<CellEditEventArgs> | Occurs when a cell edit is ending. |
<p>You can cancel this event by setting the <b>Cancel</b> property of the event argument
to true in the event handler.
If this event is not canceled, the edits will be committed or canceled depending on the setting of the CancelEdits property of the event argument.
After the edit has been successfully committed or canceled, the CellEditEnded event occurs.
By default, you can edit items directly in the grid. To guarantee that edits can be committed and canceled correctly, the objects in the grid must implement the IEditableObject interface.
Alternatively, you can set the IsReadOnly property to true to disable editing in the grid.