Back to Devexpress

PivotViewOptions.RowHeaderCaption Property

officefileapi-devexpress-dot-spreadsheet-dot-pivotviewoptions.md

latest2.3 KB
Original Source

PivotViewOptions.RowHeaderCaption Property

Gets or sets the text to be displayed in the row header of a pivot table shown in compact form.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
string RowHeaderCaption { get; set; }
vb
Property RowHeaderCaption As String

Property Value

TypeDescription
String

A String value that specifies the row header caption.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to RowHeaderCaption
PivotTable

.View .RowHeaderCaption

|

Remarks

When a pivot table is displayed in compact form, use the RowHeaderCaption and PivotViewOptions.ColumnHeaderCaption properties to specify the text to be displayed in the row and column headers instead of the default “Row Labels” and “Column Labels” strings.

csharp
pivotTable.View.RowHeaderCaption = "Products";
vb
pivotTable.View.RowHeaderCaption = "Products"

The image below illustrates the result of code execution.

See Also

ColumnHeaderCaption

PivotViewOptions Interface

PivotViewOptions Members

DevExpress.Spreadsheet Namespace