The event handler receives an argument of type ErrorEventArgs containing data related to this event. The following ErrorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets whether to cancel default processing and throw exceptions or the EditError event. |
Column | Gets the column index of the cell with the editor that raised the event. |
Column2 | Gets the right column index that raised the event. |
EditError | Gets the type of edit error. |
ErrorMessage | Gets the text description of the error. |
Exception | Gets the exception thrown by the error. |
IsEditError | Determines whether the error is an editing error. |
Row | Gets the row index of the cell with the editor that raised the event. |
Row2 | Gets the bottom row index of the cell that raised the event. |
View | Gets the view that contains the cell with the editor that raised the event. |