'Declaration Public Event RowEditEnding As EventHandler(Of GridCellEditEventArgs)
public event EventHandler<GridCellEditEventArgs> RowEditEnding
Event Data
The event handler receives an argument of type GridCellEditEventArgs containing data related to this event. The following GridCellEditEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the associated event should be canceled. (Inherited from C1.WPF.Grid.CancelEventArgs) |
CancelEdits | Gets a value that determines whether the editing action was canceled. |
Cancellable | Gets a value indicating whether the associated event is cancellable. (Inherited from C1.WPF.Grid.CancelEventArgs) |
CellRange | Gets the cell range. (Inherited from C1.WPF.Grid.GridCellRangeEventArgs) |
CellType | Gets the type of the cell. (Inherited from C1.WPF.Grid.GridCellRangeEventArgs) |
Editor | Gets the editor. |
Remarks
You can cancel this event by setting the Cancel 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.
Alternatively, you can set the IsReadOnly property to true to disable editing in the grid.
See Also