Back to Devexpress

PivotField.SourceName Property

officefileapi-devexpress-dot-spreadsheet-dot-pivotfield-84777535.md

latest1.9 KB
Original Source

PivotField.SourceName Property

Gets the name of the pivot field as it appears in the PivotTable’s source data.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
string SourceName { get; }
vb
ReadOnly Property SourceName As String

Property Value

TypeDescription
String

A String value that specifies the name of the field in the original source data.

|

Remarks

By default, PivotTable fields get their names from the original source data. For example, if you create a pivot table based on a cell range in a worksheet, the labels of the corresponding columns will be used as the field names. To change the default name of a particular PivotTable field, use the PivotField.Name property.

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

See Also

PivotField.Name

PivotDataField.Name

PivotField Interface

PivotField Members

DevExpress.Spreadsheet Namespace