Skip to main content

PaletteEntry(Color) Constructor

Initializes a new instance of the PaletteEntry class with the specified color.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public PaletteEntry(
    Color color
)

Parameters

Name Type Description
color Color

A Color value that specifies the first color of the palette entry. This value is assigned to the PaletteEntry.Color property.

Remarks

If this constructor is used, the PaletteEntry.Color2 property’s value will also be set to the specified color value.

See Also