Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CrossTabPrintOptions.PrintTotalsForSingleValues Property

Specifies whether to display totals for the field values that contain a single nested field value.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[DefaultValue(true)]
public bool PrintTotalsForSingleValues { get; set; }

#Property Value

Type Default Description
Boolean true

true, to display totals for any field value; false, to display totals for the field values that contain two or more nested values.

#Property Paths

You can access this nested property as listed below:

Object Type Path to PrintTotalsForSingleValues
XRCrossTab
.PrintOptions .PrintTotalsForSingleValues

#Remarks

The Cross Tab calculates and displays total values against all field values even if they contain only a single nested value.

To hide totals for such field values and to not duplicate information, disable the PrintTotalsForSingleValues property in the Properties window’s PrintOptions group.

See Also