PivotGridGroup.IndexOf(PivotGridFieldBase) Method

Returns the specified field’s position within the group.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public int IndexOf(
    PivotGridFieldBase field
)

Parameters

Name Type Description
field PivotGridFieldBase

A PivotGridFieldBase descendant which represents the field to be located.

Returns

Type Description
Int32

An integer value specifying the field’s position within the group. -1 if the group doesn’t contain the specified field.

See Also