Skip to main content

PivotGridFieldBase.GroupIndex Property

Gets the index of the field group which owns the current field.

Namespace: DevExpress.XtraPivotGrid

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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design

Declaration

[Browsable(false)]
public int GroupIndex { get; }

Property Value

Type Description
Int32

An integer value that specifies the index of the group which owns the current field. -1 if the field doesn’t belong to any field group.

Remarks

Field groups are contained in the PivotGridControl.Groups collection. The GroupIndex property addresses the group which owns the current field.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GroupIndex property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also