Back to Devexpress

ChartControl.UseDirectXPaint Property

windowsforms-devexpress-dot-xtracharts-dot-chartcontrol-fd56787e.md

latest2.0 KB
Original Source

ChartControl.UseDirectXPaint Property

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.UI.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
public bool UseDirectXPaint { get; set; }
vb
Public Property UseDirectXPaint As Boolean

Property Value

TypeDescription
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

DirectX Hardware Acceleration

ChartControl Class

ChartControl Members

DevExpress.XtraCharts Namespace