Skip to main content
All docs
V24.2

LegendBase.Assign(ChartElement) Method

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

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