CardRowTextElementBase.PredefinedForeColor Property
Gets or sets the predefined color used to paint a current text visual element.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v22.1.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. |
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PredefinedForeColor property.
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.