Skip to main content

ChartElement.Assign(ChartElement) Method

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public virtual void Assign(
    ChartElement obj
)

Parameters

Name Type Description
obj ChartElement

A ChartElement object whose settings are assigned to the current object. If null (Nothing in Visual Basic), then the ArgumentNullException will be thrown.

Remarks

The Assign method allows the settings from a specific ChartElement object to be copied to the current one.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Assign(ChartElement) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also