Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CalculationMode Enum

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

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

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

#Related API Members

The following properties accept/return CalculationMode values:

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

See Also