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

PivotFieldCollection.Item[String] Property

Provides access to an individual field in the collection by its name.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

PivotField this[string name] { get; }

#Parameters

Name Type Description
name String

A string that specifies the name of the field to be obtained. This value matches the value of the PivotField.Name property.

#Property Value

Type Description
PivotField

A PivotField object that is a pivot field with the specified name.

#Remarks

Use the Item property to obtain a specific pivot field in the collection by specifying its name. When searching, the name parameter value is compared to the PivotField.Name property of the PivotField objects contained in the PivotFieldCollection collection. If no matches are found, this method returns null (Nothing in Visual Basic).

See Also