Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Charts

#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