The event handler receives an argument of type C1GridViewDeleteEventArgs containing data related to this event. The following C1GridViewDeleteEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
Keys | Gets a dictionary of field name/value pairs that represent the primary key of the item to delete. |
RowIndex | Gets the index of the row being deleted. |
Values | Gets a dictionary of the non-key field name/value pairs in the item to delete. |
To cancel the operation set the Cancel property of the C1GridViewDeleteEventArgs object to true. You must implement this event if the grid is not bound to a DataSource control.