Skip to main content

PivotGridGroup.IndexOf(PivotGridFieldBase) Method

Returns the specified field’s position within the group.

Namespace: DevExpress.XtraPivotGrid

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

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

Declaration

public int IndexOf(
    PivotGridFieldBase field
)

Parameters

Name Type Description
field PivotGridFieldBase

A PivotGridFieldBase descendant which represents the field to be located.

Returns

Type Description
Int32

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

See Also