Back to Devexpress

ICustomCalculationService.OnEndCellCalculation(CellKey, CellValue, CellValue) Method

officefileapi-devexpress-dot-xtraspreadsheet-dot-services-dot-icustomcalculationservice-dot-onendcellcalculation-x28-devexpress-dot-spreadsheet-dot-cellkey-devexpress-dot-spreadsheet-dot-cellvalue-devexpress-dot-spreadsheet-dot-cellvalue-x29.md

latest2.6 KB
Original Source

ICustomCalculationService.OnEndCellCalculation(CellKey, CellValue, CellValue) Method

Called when the calculation is finalized for a particular cell.

Namespace : DevExpress.XtraSpreadsheet.Services

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void OnEndCellCalculation(
    CellKey cellKey,
    CellValue startValue,
    CellValue endValue
)
vb
Sub OnEndCellCalculation(
    cellKey As CellKey,
    startValue As CellValue,
    endValue As CellValue
)

Parameters

NameTypeDescription
cellKeyCellKey

A CellKey object which identifies a calculated cell.

| | startValue | CellValue |

A CellValue that is the value of a cell before calculation.

| | endValue | CellValue |

A CellValue that is the value of a cell after calculation.

|

Remarks

If calculation is canceled by setting the CellCalculationArgs.Handled property to true in the ICustomCalculationService.OnBeginCellCalculation method, the OnEndCellCalculation is not called.

See Also

Calculation Process

ICustomCalculationService Interface

ICustomCalculationService Members

DevExpress.XtraSpreadsheet.Services Namespace