Skip to main content

PivotGridGroupCollection.GetGroupByField(PivotGridFieldBase) Method

Returns the group which owns the specified field.

Namespace: DevExpress.XtraPivotGrid

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

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


public PivotGridGroup GetGroupByField(
    PivotGridFieldBase field


Name Type Description
field PivotGridFieldBase

A PivotGridFieldBase descendant which represents the field whose owning group is to be returned.


Type Description

A PivotGridGroup object which represents a group that owns the specified field. null (Nothing in Visual Basic) if the specified field doesn’t belong to any group within the collection.

See Also