Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridControl.MergeRowFieldValues Property

Gets or sets whether to merge the neighboring row headers if they contain the same field value. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public bool MergeRowFieldValues { get; set; }

#Property Value

Type Description
Boolean

true to merge the neighboring row headers if they contain the same field value; otherwise, false.

#Remarks

When you enable this property, the field values of outer row fields are merged when a pivot grid is printed or exported in the WYSIWYG mode (in the same way as the outer field values are displayed in the control on a form). Otherwise, merged cells are split into small cells, so each duplicates a value of the original cell.

The property is not in effect when RowTotalsLocation is Tree. In this case, the outer row fields are not duplicated in the exported document.

To specify whether to merge the neighboring column headers, use the PivotGridControl.MergeColumnFieldValues property.

To learn more, see Printing and Exporting.

See Also