Back to Devexpress

PivotTable.Layout Property

officefileapi-devexpress-dot-spreadsheet-dot-pivottable-017dc985.md

latest2.3 KB
Original Source

PivotTable.Layout Property

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

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
PivotLayout Layout { get; }
vb
ReadOnly Property Layout As PivotLayout

Property Value

TypeDescription
PivotLayout

A PivotLayout object containing layout settings for a pivot table.

|

Remarks

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

WinForms Spreadsheet Control Examples

PivotTable Interface

PivotTable Members

DevExpress.Spreadsheet Namespace