Back to Devexpress

PivotGridControl.ShowGrandTotalsForSingleValues Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-13576050.md

latest2.0 KB
Original Source

PivotGridControl.ShowGrandTotalsForSingleValues Property

Gets or sets whether grand totals are displayed when the control lists a single value of an outer column field or row field along its left or top edge.

Namespace : DevExpress.Xpf.PivotGrid

Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public bool ShowGrandTotalsForSingleValues { get; set; }
vb
Public Property ShowGrandTotalsForSingleValues As Boolean

Property Value

TypeDescription
Boolean

true if the grand totals are always displayed; false if they are only displayed when the PivotGridControl displays two or more values of an outer column (or row) field along its top (or left) edge.

|

Remarks

The following image shows a sample PivotGridControl whose ShowGrandTotalsForSingleValues property is set to false :

The following image shows the same control whose ShowGrandTotalsForSingleValues property is set to true. Now the column grand total is visible, and it duplicates information from the preceding column.

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace