Skip to main content
All docs
V24.1

LegendBase.Assign(ChartElement) Method

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public override void Assign(
    ChartElement obj
)

Parameters

Name Type Description
obj ChartElement

A LegendBase object (the ChartElement descendant) whose settings are assigned to the current object.

Remarks

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

If the parameter value is null (Nothing in Visual Basic), then an ArgumentNullException is thrown.

See Also