Skip to main content

ColorDefinition(Int32) Constructor

Initializes a new instance of the ColorDefinition class.

Namespace: DevExpress.DashboardCommon

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

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design


public ColorDefinition(
    int paletteIndex


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.


Note that the default dashboard palette contains 20 unique colors.

See Also