Back to Devexpress

CellRange.Calculate() Method

officefileapi-devexpress-dot-spreadsheet-dot-cellrange-751f4f28.md

latest1.4 KB
Original Source

CellRange.Calculate() Method

Forces recalculation of the current cell range.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void Calculate()
vb
Sub Calculate

Remarks

To force the calculation of visible cells only, call the Calculate method for the range obtained using the SpreadsheetControl.VisibleRange (WinForms) or the SpreadsheetControl.VisibleRange (WPF) property. Note that you may get an incorrect result if the cells marked for recalculation are not included in the visible range.

See Also

Calculation Process

CellRange Interface

CellRange Members

DevExpress.Spreadsheet Namespace