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

PivotField.Name Property

Gets or sets the PivotTable field’s name.

Namespace: DevExpress.Spreadsheet

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


string Name { get; set; }

Property Value

Type Description

A String value that specifies the name of the pivot field.


Use the Name property to rename a specific field in the PivotTable report. By default, fields get their names from the original source data (the field’s source name can be obtained using the PivotField.SourceName property).

To change the name of the field located in the data area of your report, use the PivotDataField.Name property.


When renaming a field, make sure that the specified name is not equal to an existing PivotTable field name; otherwise, a System.InvalidOperationException exception will be thrown.

See Also