XRPivotGridFieldCollection.Item[String] Property

Gets the XRPivotGridField object specified by the field name.

Namespace: DevExpress.XtraReports.UI.PivotGrid

Assembly: DevExpress.XtraReports.v18.1.dll

Syntax

public XRPivotGridField this[string fieldName] { get; }

Parameters

Type Name Description
String fieldName

A String value specifying the field name of the required XRPivotGridField object.

Returns

Type Description
XRPivotGridField

An XRPivotGridField object bound to the specified field.

This method searches the collection for the XRPivotGridField object whose PivotGridFieldBase.FieldName property's value matches the parameter's value. If such an object is not found, the indexer returns null.