Skip to main content
.NET Framework 4.5.2+

SpreadsheetCellEventArgs Class

Provides data for the SpreadsheetControl.CellValueChanged event.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v23.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.


See Also