Skip to main content
A newer version of this page is available. .

AppearanceSettings.ForeColor Property

Gets or sets the foreround color.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v19.1.Core.dll

Declaration

[DefaultValue(null)]
public Color? ForeColor { get; set; }

Property Value

Type Default Description
Nullable<Color> *null*

A Color value that specifies the foreround color.

Remarks

To set the element’s background or foreground colors, use the AppearanceSettings.BackColor and ForeColor properties respectively.

To specify font settings, use the AppearanceSettings.FontFamily and AppearanceSettings.FontStyle properties. Note that the AppearanceSettings.AppearanceType property should be set to Custom to take custom appearance settings into account.

See Also