Back to Devexpress

PivotGridControl.ShowColumnGrandTotals Property

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

latest2.7 KB
Original Source

PivotGridControl.ShowColumnGrandTotals 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 ShowColumnGrandTotals { get; set; }
vb
Public Property ShowColumnGrandTotals As Boolean

Property Value

TypeDescription
Boolean

true to display Column Grand Totals; otherwise, false.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowColumnGrandTotals 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-create-context-menu-for-field-values/CS/WpfPivotGrid_CustomMenu/MainWindow.xaml#L20

xml
<dxb:BarCheckItem Name="ShowColumnGrandTotals"
              IsChecked="{Binding ElementName=pivotGrid, Path=ShowColumnGrandTotals, Mode=TwoWay}"
              Content="Show Column Grand Totals" />

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"

See Also

ShowRowGrandTotals

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace