Back to Devexpress

CardPredefinedColor Enum

dashboard-devexpress-dot-dashboardcommon-3b87b9e1.md

latest2.5 KB
Original Source

CardPredefinedColor Enum

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

Declaration

csharp
public enum CardPredefinedColor
vb
Public Enum CardPredefinedColor

Members

NameDescription
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:

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

DevExpress.DashboardCommon Namespace