PivotGridGroupCollection.GetGroupByField(PivotGridFieldBase) Method

Returns the group which owns the specified field.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

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

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