vcl-cxcustomdata-dot-tcxcustomdatacontroller-6bbf18ad.md
Provides access to multi-threading settings.
property MultiThreadedOptions: TcxDataControllerMultiThreadedOptions read; write;
| Type | Description |
|---|---|
| TcxDataControllerMultiThreadedOptions |
Stores data controller multi-threading options.
|
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.
The dxEnableMultiThreading global constant enables ( default ) or allows you to 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
TcxTreeListOptionsData.MultiThreadedSorting Property
TcxvgMultiRecordsOptionsData.MultiThreadedFiltering