Skip to main content
A newer version of this page is available. .

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; }

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.

See Also