PivotGridGroupCollection.GetGroupByField(PivotGridFieldBase) Method

Returns the group which owns the specified field.

Namespace: DevExpress.XtraPivotGrid

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


public PivotGridGroup GetGroupByField(
    PivotGridFieldBase field
Public Function GetGroupByField(
    field As PivotGridFieldBase
) As PivotGridGroup


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