Skip to main content

PrintAppearanceObject.BackColor Property

Specifies the background color.

Namespace: DevExpress.PivotGrid.Printing

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

Declaration

public Color BackColor { get; set; }

Property Value

Type Description
Color

A Color structure, specifying the background color.

Remarks

The BackColor property specifies the background color if the PrintAppearanceObject.BackColor2 property value is Color.Empty. Otherwise, it specifies the gradient’s starting color.

If the AppearanceOptions.UseBackColor property is set to false and the appearance object has a parent, the parent’s background color is used.

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

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