Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpreadsheetCellEventArgs Class

Provides data for the SpreadsheetControl.CellValueChanged event.

Namespace: DevExpress.XtraSpreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#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