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

PivotGridGroupCollection.IndexOf(PivotGridGroup) Method

Returns the specified group’s position within the collection.

Namespace: DevExpress.XtraPivotGrid

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