Skip to main content

CardPredefinedColor Enum

Lists values that identify colors used to paint text visual elements within a card layout row.

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

Declaration

public enum CardPredefinedColor

Members

Name Description
NotSet

A color is not set. In this case, CardRowTextElementBase.ForeColor will be used to paint visual elements. If the CardRowTextElementBase.ForeColor property is not specified, a text element will be painted using the CardPredefinedColor.Main color.

Delta

A color used to paint a delta indicator and corresponding delta values.

Main

A main color.

Good

A color used to paint the ‘good’ indication.

Bad

A color used to paint the ‘bad’ indication.

Warning

A color used to paint the ‘warning’ indication.

Neutral

A color used to paint the ‘neutral’ indication.

Remarks

Values listed in this enumeration are used to set the CardRowTextElementBase.PredefinedForeColor. To learn how to manage the layout of cards in the CardDashboardItem, refer to the CardLayoutTemplate class description.

Note

Note that colors listed in this enumeration depend on the theme applied to the control that displays a dashboard.

See Also