Back to Devexpress

TcxCustomDataController.MultiThreadedOptions Property

vcl-cxcustomdata-dot-tcxcustomdatacontroller-6bbf18ad.md

latest2.3 KB
Original Source

TcxCustomDataController.MultiThreadedOptions Property

Provides access to multi-threading settings.

Declaration

delphi
property MultiThreadedOptions: TcxDataControllerMultiThreadedOptions read; write;

Property Value

TypeDescription
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 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

TcxCustomDataController Class

TcxCustomDataController Members

cxCustomData Unit