Skip to main content

XRCrossTabCell.GetEffectiveBorderColor() Method

Returns the cell’s actually used border color.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v22.1.dll

NuGet Package: DevExpress.Reporting.Core


public override Color GetEffectiveBorderColor()


Type Description

The effective border color.


The GetEffectiveBorderColor method searches an actual border color in the following order:

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


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

See Also