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.2.UI.dll

Declaration

public bool UseDirectXPaint { get; set; }

Property Value

Type Description
Boolean

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

Remarks

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.

Note

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