Skip to main content
.NET Framework 4.5.2+
Row

CalculationMode Enum

Lists modes that specify when to calculate formulas in the document.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v22.1.Core.dll

Declaration

public enum CalculationMode

Members

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.

Remarks

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CalculationMode enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also