Back to Devexpress

CrossTabPrintOptions.PrintTotalsForSingleValues Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-crosstab-dot-crosstabprintoptions-551f722a.md

latest2.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(true)]
public bool PrintTotalsForSingleValues { get; set; }
vb
<DefaultValue(True)>
Public Property PrintTotalsForSingleValues As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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 TypePath 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

CrossTabPrintOptions Class

CrossTabPrintOptions Members

DevExpress.XtraReports.UI.CrossTab Namespace