ChartCollectionBase.Assign(ChartCollectionBase) Method

Copies all the elements from the ChartCollectionBase object passed as the parameter.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.1.dll


public virtual void Assign(
    ChartCollectionBase collection


Name Type Description
collection ChartCollectionBase

A ChartCollectionBase object whose elements are copied to the current object. If null (Nothing in Visual Basic), then a ArgumentNullException will be thrown.


The Assign method clears the ChartCollectionBase collection and copies all the elements from the specified ChartCollectionBase object.

See Also