Skip to main content
A newer version of this page is available. .

PivotGridGroup.IndexOf(PivotGridFieldBase) Method

Returns the specified field’s position within the group.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v19.2.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