Back to Devexpress

PivotGridControl.ShowRowGrandTotals Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-9cd89cf7.md

latest3.0 KB
Original Source

PivotGridControl.ShowRowGrandTotals Property

Gets or sets whether to display row grand totals.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

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

Property Value

TypeDescription
Boolean

true to display row grand totals; otherwise, false.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowRowGrandTotals property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-pivot-grid-visualize-data-in-chart/CS/WpfPivotChart/MainWindow.xaml#L26

xml
</CheckBox>
<dxpg:PivotGridControl ShowRowGrandTotals="False" ShowColumnGrandTotals="False"
               Grid.Column="0" Grid.Row="1" x:Name="pivotGridControl1"

wpf-pivot-grid-hide-specific-columns-and-row/CS/WpfApp/Data.cs#L32

csharp
pivot.RowTotalsLocation = FieldRowTotalsLocation.Near;
pivot.ShowRowGrandTotals = false;
pivot.ColumnTotalsLocation = FieldColumnTotalsLocation.Far;

wpf-pivot-grid-hide-specific-columns-and-row/VB/WpfApp/Data.vb#L35

vb
pivot.RowTotalsLocation = FieldRowTotalsLocation.Near
pivot.ShowRowGrandTotals = False
pivot.ColumnTotalsLocation = FieldColumnTotalsLocation.Far

See Also

ShowColumnGrandTotals

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace