Back to Devexpress

ChartCollectionBase.Assign(ChartCollectionBase) Method

corelibraries-devexpress-dot-xtracharts-dot-chartcollectionbase-dot-assign-x28-devexpress-dot-xtracharts-dot-chartcollectionbase-x29.md

latest1.8 KB
Original Source

ChartCollectionBase.Assign(ChartCollectionBase) Method

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public virtual void Assign(
    ChartCollectionBase collection
)
vb
Public Overridable Sub Assign(
    collection As ChartCollectionBase
)

Parameters

NameTypeDescription
collectionChartCollectionBase

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

|

Remarks

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

See Also

ChartCollectionBase Class

ChartCollectionBase Members

DevExpress.XtraCharts Namespace