wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-26d0cdf4.md
Gets or sets the column totals‘ location. This is a dependency property.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public FieldColumnTotalsLocation ColumnTotalsLocation { get; set; }
Public Property ColumnTotalsLocation As FieldColumnTotalsLocation
| Type | Description |
|---|---|
| FieldColumnTotalsLocation |
A FieldColumnTotalsLocation enumeration value that specifies the column totals’ location.
|
Available values:
| Name | Description |
|---|---|
| Near |
Column Totals are displayed to the left of the column field values.
| | Far |
Column Totals are displayed to the right of the column field values.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the ColumnTotalsLocation 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-hide-specific-columns-and-row/CS/WpfApp/Data.cs#L33
pivot.ShowRowGrandTotals = false;
pivot.ColumnTotalsLocation = FieldColumnTotalsLocation.Far;
pivot.DataFieldArea = DataFieldArea.ColumnArea;
wpf-pivot-grid-split-field-value-cells/CS/Data.cs#L31
pivot.RowTotalsLocation = FieldRowTotalsLocation.Far;
pivot.ColumnTotalsLocation = FieldColumnTotalsLocation.Far;
pivot.DataFieldArea = DataFieldArea.ColumnArea;
wpf-pivot-grid-hide-specific-columns-and-row/VB/WpfApp/Data.vb#L36
pivot.ShowRowGrandTotals = False
pivot.ColumnTotalsLocation = FieldColumnTotalsLocation.Far
pivot.DataFieldArea = DataFieldArea.ColumnArea
wpf-pivot-grid-split-field-value-cells/VB/Data.vb#L44
pivot.RowTotalsLocation = FieldRowTotalsLocation.Far
pivot.ColumnTotalsLocation = FieldColumnTotalsLocation.Far
pivot.DataFieldArea = DataFieldArea.ColumnArea
See Also