Skip to main content
Row

CalculationOptions.ThreadCount Property

Gets or sets the number of calculation threads.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

int? ThreadCount { get; set; }

Property Value

Type Description
Nullable<Int32>

The number of concurrent calculation processes.

Property Paths

You can access this nested property as listed below:

Object Type Path to ThreadCount
DocumentSettings
.Calculation .ThreadCount

Remarks

The ThreadCount property’s default value is null (Nothing in Visual Basic). In this case, the Spreadsheet uses the Environment.ProcessorCount property to determine the optimal number of calculation threads based on the number of available logical processors. However, you can use the ThreadCount property to specify the number of calculation threads.

See Also