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

SpreadsheetCellEventArgsBase Class

Serves as the base for classes which provide data for the events which occur on changing cell values via the SpreadsheetControl UI.

Namespace: DevExpress.XtraSpreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public abstract class SpreadsheetCellEventArgsBase :
    EventArgs

#Remarks

The SpreadsheetControl class provides events that occur before (SpreadsheetControl.CellBeginEdit, SpreadsheetControl.CellEndEdit and SpreadsheetControl.CellCancelEdit) and after a cell value has been changed (SpreadsheetControl.CellValueChanged) by an end-user via the cell editor (the cell in-place editor or formula bar).

The SpreadsheetCellEventArgsBase class is the base for arguments of these events. It introduces properties to access a cell for which an event is fired or this cell location (SpreadsheetCellEventArgsBase.Cell, SpreadsheetCellEventArgsBase.RowIndex, SpreadsheetCellEventArgsBase.ColumnIndex, SpreadsheetCellEventArgsBase.Worksheet and SpreadsheetCellEventArgsBase.SheetName), and properties to access a value and formula currently contained in this cell (SpreadsheetCellEventArgsBase.Value, SpreadsheetCellEventArgsBase.Formula and SpreadsheetCellEventArgsBase.FormulaInvariant).

See Also