Back to Devexpress

PivotGridGroupCollection.IndexOf(PivotGridGroup) Method

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridgroupcollection-dot-indexof-x28-devexpress-dot-xtrapivotgrid-dot-pivotgridgroup-x29.md

latest1.8 KB
Original Source

PivotGridGroupCollection.IndexOf(PivotGridGroup) Method

Returns the specified group’s position within the collection.

Namespace : DevExpress.XtraPivotGrid

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

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
fieldGroupPivotGridGroup

A PivotGridGroup object which represents the group to locate.

|

Returns

TypeDescription
Int32

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

|

See Also

Contains

PivotGridGroupCollection Class

PivotGridGroupCollection Members

DevExpress.XtraPivotGrid Namespace