Skip to main content

XYDiagramPaneBase.Assign(ChartElement) Method

Copies all the settings from the XYDiagramPaneBase object passed as the parameter.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.2.dll

NuGet Package: DevExpress.Charts


public override void Assign(
    ChartElement obj


Name Type Description
obj ChartElement

An XYDiagramPaneBase object (which is the ChartElement descendant) whose settings are assigned to the current object. If null (Nothing in Visual Basic), then a ArgumentNullException will be thrown.


The Assign method allows the settings of the specified XYDiagramPaneBase object to be copied to the current XYDiagramPaneBase object.

See Also