Skip to main content

ZoomRectangle.Assign(ChartElement) Method

Copies all the settings from the ZoomRectangle object passed as a 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 ZoomRectangle 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 ZoomRectangle object to be copied to the current ZoomRectangle object.

See Also