Skip to main content

PivotGridGroupCollection.IndexOf(PivotGridGroup) Method

Returns the specified group’s position within the collection.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public int IndexOf(
    PivotGridGroup fieldGroup
)

Parameters

Name Type Description
fieldGroup PivotGridGroup

A PivotGridGroup object which represents the group to locate.

Returns

Type Description
Int32

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

See Also