Skip to main content
A newer version of this page is available. .

PivotGridGroupCollection.GetGroupByField(PivotGridFieldBase) Method

Returns the group which owns the specified field.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public PivotGridGroup GetGroupByField(
    PivotGridFieldBase field
)

Parameters

Name Type Description
field PivotGridFieldBase

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

Returns

Type Description
PivotGridGroup

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