Skip to main content
Row

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

PivotLayout.IndentInCompactForm Property

Gets or sets the indent increment for items from different row fields when a pivot table is shown in compact form.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

int IndentInCompactForm { get; set; }

#Property Value

Type Description
Int32

An integer value that specifies the amount by which items from different row fields are indented.

This value must be between 0 and 127. Otherwise, a ArgumentOutOfRangeException will be thrown.

#Remarks

When a pivot table is shown in compact form, items from different row fields are displayed in a single column and subsidiary row field items are shown indented from the left (see the image below). The default indent value is 1 character. To change the indent value, use the IndentInCompactForm property.

SpreadsheetPivotTable_CompactReportLayout

See Also