Skip to main content

PaletteEntry.Assign(PaletteEntry) Method

Copies the colors from the PaletteEntry object passed as the parameter.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public virtual void Assign(
    PaletteEntry entry
)

Parameters

Name Type Description
entry PaletteEntry

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

Remarks

The Assign method copies the values of the PaletteEntry.Color and PaletteEntry.Color2 properties from the object passed as the parameter to the current object.

See Also