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

CalculationOptions.ThreadCount Property

Gets or sets the number of calculation threads.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.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