Skip to main content
A newer version of this page is available. .

dxEnableMultiThreading Constant

Specifies if multithreading is enabled in all DevExpress controls used in an application.

Declaration

const dxEnableMultiThreading: Boolean = True;

Returns

Type
Boolean

Remarks

All DevExpress controls that benefit from multithreading call the dxCanUseMultiThreading global function to identify if they can use multithreaded data processing algorithms and/or run any other routines in separate threads. If the dxEnableMultiThreading global writable constant is set to False, the dxCanUseMultiThreading function returns False without checking all other multithreading availability conditions.

The following DevExpress controls provide settings that allow you to disable or enable only specific multithreading calculations without affecting the global multithreading state:

DevExpress Product Multithreading Setting(s)
ExpressPDFViewer The control’s OptionsBehavior.RenderContentInBackground property.
ExpressQuantumGrid The View’s DataController.MultiThreadedOptions options set.
ExpressQuantumTreeList The control’s OptionsData.MultiThreadedSorting property.
ExpressVerticalGrid The control’s OptionsData.MultiThreadedFiltering property

The listed settings are particularly useful if your custom implementations of the corresponding algorithms in these controls are not thread-safe. Note that all control-specific multithreading settings have no effect if the dxEnableMultiThreading global writable constant is set to False.

Refer to the Multi-Threaded Data Processing topic for additional information.

See Also