.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SpreadsheetCellEventArgs Class

Provides data for the SpreadsheetControl.CellValueChanged event.

Namespace: DevExpress.XtraSpreadsheet

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the SpreadsheetCellEventArgs 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.

Inheritance

See Also