Back to Devexpress

CalculationOptions.EnableMultiThreading Property

officefileapi-devexpress-dot-spreadsheet-dot-calculationoptions-10c89edf.md

latest2.1 KB
Original Source

CalculationOptions.EnableMultiThreading Property

Gets or sets whether to enable multi-threaded calculations for the current workbook.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
bool EnableMultiThreading { get; set; }
vb
Property EnableMultiThreading As Boolean

Property Value

TypeDescription
Boolean

true , to enable multi-threaded calculations; otherwise, false. The default value is true.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to EnableMultiThreading
DocumentSettings

.Calculation .EnableMultiThreading

|

Remarks

Multi-threaded calculations are supported only for the ChainBased calculation engine. Use the CalculationOptions.ThreadCount property to specify the number of calculation threads.

If you implement ICustomCalculationService, the Spreadsheet uses only one thread to calculate built-in and custom formulas.

See Also

CalculationOptions Interface

CalculationOptions Members

DevExpress.Spreadsheet Namespace