Skip to main content

PrintAppearanceObject.ForeColor Property

Specifies the foreground color.

Namespace: DevExpress.PivotGrid.Printing

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

[XtraSerializableProperty]
public Color ForeColor { get; set; }

Property Value

Type Description
Color

A Color structure, specifying the foreground color.

Remarks

Setting the ForeColor property to Color.Empty automatically sets the AppearanceOptions.UseForeColor property to false. If this property is disabled and the current appearance object has a parent, the parent’s foreground color is used.

To obtain the foreground color specified by the appearance object’s settings, use the AppearanceObject.GetForeColor method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ForeColor 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.

See Also