PivotGridGroupCollection.IndexOf(PivotGridGroup) Method

Returns the specified group's position within the collection.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public int IndexOf(
    PivotGridGroup fieldGroup
)
Public Function IndexOf(
    fieldGroup As PivotGridGroup
) As Integer

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