officefileapi-devexpress-dot-spreadsheet-98f0f528.md
Lists modes that specify when to calculate formulas in the document.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public enum CalculationMode
Public Enum CalculationMode
| Name | Description |
|---|---|
Automatic |
Recalculates all formulas in the document each time a cell value, formula, or defined name changes.
|
| AutomaticExceptTables |
Recalculates all formulas except data tables.
|
| Manual |
A user triggers calculations in the document.
|
The following properties accept/return CalculationMode values:
If a workbook’s calculation mode is Manual , use the IWorkbook.Calculate, Worksheet.Calculate, or CellRange.Calculate method to force calculation.
In Automatic mode, cells are recalculated but not always redrawn. Call the SpreadsheetControl.Refresh method to redraw cells.
See Also