Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

SpreadsheetCellEventArgs Class

Provides data for the SpreadsheetControl.CellValueChanged event.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll


public class SpreadsheetCellEventArgs :


The SpreadsheetControl.CellValueChanged event occurs after a cell content has been changed by the SpreadsheetControl UI. The SpreadsheetCellEventArgs class introduces the SpreadsheetCellEventArgs.OldValue, SpreadsheetCellEventArgs.OldFormula and SpreadsheetCellEventArgs.OldFormulaInvariant properties to access a cell value and formula before changing. To get the new value and formula of the cell, use the SpreadsheetCellEventArgsBase.Value, SpreadsheetCellEventArgsBase.Formula and SpreadsheetCellEventArgsBase.FormulaInvariant properties of the event argument.

SpreadsheetCellEventArgs objects are automatically created, initialized and passed to the SpreadsheetControl.CellValueChanged event handlers.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SpreadsheetCellEventArgs class.


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.


See Also