Skip to main content
A newer version of this page is available. .

SpreadsheetCellEventArgs Class

Provides data for the SpreadsheetControl.CellValueChanged event.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v18.2.Core.dll

Declaration

[ComVisible(true)]
public class SpreadsheetCellEventArgs :
    SpreadsheetCellEventArgsBase

Remarks

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.

Inheritance

See Also