PivotGridGroup.IndexOf(PivotGridFieldBase) Method
Returns the specified field’s position within the group.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v25.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
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