Skip to main content

ChartControl.UseDirectXPaint Property

Gets or sets whether the DirectX Hardware Acceleration is enabled for this Chart Control.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.UI.dll

NuGet Package: DevExpress.Win.Charts


public bool UseDirectXPaint { get; set; }

Property Value

Type Description

true if the Chart Control should use hardware acceleration; otherwise false.


Call the WindowsFormsSettings.ForceDirectXPaint method at the application’s startup to enable the DirectX Hardware Acceleration for all compatible DevExpress controls in the application.

Set the UseDirectXPaint property to false to disable the DirectX Hardware Acceleration for the Chart Control.


Only modify the UseDirectXPaint setting before the control’s handle is created. For instance, you can do this at design time, or in the form’s constructor.

See Also