dashboard-devexpress-dot-dashboardcommon-3b87b9e1.md
Lists values that identify colors used to paint text visual elements within a card layout row.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public enum CardPredefinedColor
Public Enum CardPredefinedColor
| 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.
|
The following properties accept/return CardPredefinedColor values:
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