ChartControl.UseDirectXPaint Property

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

Namespace: DevExpress.XtraCharts

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

Declaration

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

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.

Implements

DevExpress.Utils.DirectXPaint.IDirectXClient.UseDirectXPaint
See Also