Skip to main content

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.1.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