PivotGridGroup.IndexOf(PivotGridFieldBase) Method
In This Article
Returns the specified field’s position within the group.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
#Declaration
public int IndexOf(
PivotGridFieldBase field
)
#Parameters
Name | Type | Description |
---|---|---|
field | Pivot |
A Pivot |
#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