Skip to main content
A newer version of this page is available. .

Palette.Assign(Palette) Method

Copies all the elements from the Palette object passed as the parameter.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.1.dll

Declaration

public void Assign(
    Palette palette
)

Parameters

Name Type Description
palette Palette

A Palette object whose elements are copied to the current object. If null (Nothing in Visual Basic), then a ArgumentNullException will be thrown.

Remarks

The Assign method clears the Palette collection and copies all the elements from the specified Palette object.

See Also