Skip to main content

ChartControl.Clone() Method

Creates a copy of the current ChartControl object.

Namespace: DevExpress.XtraCharts

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

NuGet Package: DevExpress.Win.Charts

Declaration

public object Clone()

Returns

Type Description
Object

A ChartControl object which is a copy of the current object.

Remarks

This method creates a new instance of the ChartControl class and copies all the values of the current ChartControl‘s properties to it.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Clone() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also