Skip to main content

TcxCustomDataController.MultiThreadedOptions Property

Provides access to multi-threading settings.

Declaration

property MultiThreadedOptions: TcxDataControllerMultiThreadedOptions read; write;

Property Value

Type Description
TcxDataControllerMultiThreadedOptions

Stores data controller multi-threading options.

Remarks

DevExpress data controllers (TcxCustomDataController class descendants) implement multi-threaded algorithms for data sort, filter, and group operations. Data group operations rely on both data sorting and filtering algorithms.

You can set MultiThreadedOptions.Filtering and MultiThreadedOptions.Sorting properties to bTrue or bFalse to explicitly enable or disable multi-threaded algorithms for the data controller.

Important

We recommend that you leave multi-threaded algorithms enabled to ensure the best application performance. You may need to disable multi-threaded algorithms only if you implement thread-unsafe event handlers that change the behavior of data sort and filter operations.

Refer to the TcxDataControllerMultiThreadedOptions class description for detailed information on available options.

Global Multi-Threading Flag

The dxEnableMultiThreading global constant allows you to enable (default) or disable multi-threaded calculations in all DevExpress components in the application. If dxEnableMultiThreading is set to False, all other multi-threading settings have no effect.

See Also