PivotGridFieldCollectionBase.Item[String] Property

Gets the field object specified by the bound field name.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v21.1.Core.dll

Declaration

public PivotGridFieldBase this[string fieldName] { get; }

Parameters

Name Type Description
fieldName String

A string value specifying the bound field name of the required PivotGridFieldBase object.

Property Value

Type Description
PivotGridFieldBase

The PivotGridFieldBase descendant bound to the specified field.

Remarks

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

See Also