A newer version of this page is available. Switch to the current version.

ChartControl.UseDirectXPaint Property

Gets or sets a value that specifies whether the specific Chart Control instance uses the DirectX Hardware Acceleration.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.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

Set the UseDirectXPaint property to true and call the WindowsFormsSettings.ForceDirectXPaint method at the application's startup to use the DirectX rendering for the Chart Control.

NOTE

Modify the UseDirectXPaint setting only 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