CardRowTextElementBase.PredefinedForeColor Property
Gets or sets the predefined color used to paint a current text visual element.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v18.2.Core.dll
Declaration
[DefaultValue(CardPredefinedColor.NotSet)]
public CardPredefinedColor PredefinedForeColor { get; set; }
Property Value
Type | Default | Description |
---|---|---|
CardPredefinedColor | **NotSet** | A CardPredefinedColor value that specifies the predefined color used to paint a current text visual element. |
Available values:
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
If the PredefinedForeColor property is set to CardPredefinedColor.NotSet, 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.