Back to Devexpress

PivotGridGroup.IndexOf(PivotGridFieldBase) Method

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

latest1.8 KB
Original Source

PivotGridGroup.IndexOf(PivotGridFieldBase) Method

Returns the specified field’s position within the group.

Namespace : DevExpress.XtraPivotGrid

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

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

Declaration

csharp
public int IndexOf(
    PivotGridFieldBase field
)
vb
Public Function IndexOf(
    field As PivotGridFieldBase
) As Integer

Parameters

NameTypeDescription
fieldPivotGridFieldBase

A PivotGridFieldBase descendant which represents the field to be located.

|

Returns

TypeDescription
Int32

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

|

See Also

Contains(PivotGridFieldBase)

PivotGridGroup Class

PivotGridGroup Members

DevExpress.XtraPivotGrid Namespace