Skip to main content
.NET Framework 4.5.2+

PivotTable.Layout Property

Provides access to options used to adjust the PivotTable report layout.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v22.2.Core.dll


PivotLayout Layout { get; }

Property Value

Type Description

A PivotLayout object containing layout settings for a pivot table.


Use the Layout property to get access to the PivotLayout object, which allows you to adjust the PivotTable report layout by displaying the pivot table in compact, outline, or tabular form (PivotLayout.SetReportLayout), display or hide subtotals (PivotLayout.ShowAllSubtotals) and grand totals for rows (PivotLayout.ShowRowGrandTotals) and columns (PivotLayout.ShowColumnGrandTotals), insert a blank line after items of the outer row fields (PivotLayout.InsertBlankRows), etc.

For examples on how to modify the PivotTable layout, refer to the Pivot Table Examples section.

See Also