CardPredefinedColor Enum
Lists values that identify colors used to paint text visual elements within a card layout row.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v21.2.Core.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CardPredefinedColor enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.