SpreadsheetCellCancelEventArgs Class
Provides data for the SpreadsheetControl.CellBeginEdit event and serves as the base class for SpreadsheetCellValidatingEventArgs.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.Spreadsheet.v19.1.Core.dll
Declaration
Remarks
The SpreadsheetCellCancelEventArgs class introduces the SpreadsheetCellCancelEventArgs.Cancel property which specifies whether the operation performed on the processed event should be canceled. Set this property to true to cancel activation of the cell editor when handling the SpreadsheetControl.CellBeginEdit event, or to cancel closing the cell editor when handling the SpreadsheetControl.CellEndEdit event.
An instance of the SpreadsheetCellCancelEventArgs class with appropriate settings is automatically created and passed to the corresponding event’s handler.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SpreadsheetCellCancelEventArgs class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.