Skip to main content

XRCrossTabCell.GetEffectivePadding() Method

Returns the cell’s actually used padding values.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v22.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public override PaddingInfo GetEffectivePadding()

Returns

Type Description
PaddingInfo

The effective padding values.

Remarks

The GetEffectivePadding method searches actual padding values in the following order:

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

Tip

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

See Also