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

XRCrossTabCell.GetEffectiveBackColor() Method

Returns the cell’s actually used background color.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v20.2.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

public override Color GetEffectiveBackColor()

Returns

Type Description
Color

The effective background color.

Remarks

The GetEffectiveBackColor method searches an actual background color in the following order:

  • the cell’s BackColor property value if it differs from the default value;
  • the BackColor property value in a style of the cell’s area (HeaderAreaStyle, DataAreaStyle or TotalAreaStyle) if it is set;
  • the BackColor property value in the GeneralStyle if it is set;
  • the default background color .

Tip

See CrossTabStyles for more information about the Cross Tab’s appearance mechanism.

See Also