Skip to main content

ColorDefinition(Int32) Constructor

Initializes a new instance of the ColorDefinition class.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

#Declaration

public ColorDefinition(
    int paletteIndex
)

#Parameters

Name Type Description
paletteIndex Int32

An integer value that is the zero-based index identifying a color from the default palette. This value is assigned to the ColorDefinition.PaletteIndex property.

#Remarks

Note that the default dashboard palette contains 20 unique colors.

See Also