.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PivotTable.View Property

Provides access to the display settings of a PivotTable report.

Namespace: DevExpress.Spreadsheet

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


PivotViewOptions View { get; }

Property Value

Type Description

A PivotViewOptions object containing the PivotTable’s display settings.


Use the View property to access an object exposing the PivotViewOptions interface. Utilize properties of the returned object to set the text to displayed in the row and column headers of a pivot table shown in compact form (PivotViewOptions.RowHeaderCaption and PivotViewOptions.ColumnHeaderCaption); specify the grand total caption (PivotViewOptions.GrandTotalCaption); show or hide the expand/collapse buttons (PivotViewOptions.ShowDrillIndicators), field headers and filter drop-down arrows (PivotViewOptions.ShowFieldHeaders); display a custom message in empty cells (PivotViewOptions.ShowMissing and PivotViewOptions.MissingCaption) and cells containing errors (PivotViewOptions.ShowError and PivotViewOptions.ErrorCaption), and define the alternative text for your PivotTable report (PivotViewOptions.AltTextTitle and PivotViewOptions.AltTextDescription).

See Also