PivotGridGroup.CanAdd(PivotGridFieldBase) Method

Indicates whether the specified field can be added to the field group.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v21.1.Core.dll

Declaration

public bool CanAdd(
    PivotGridFieldBase field
)

Parameters

Name Type Description
field PivotGridFieldBase

A PivotGridFieldBase descendant which represents the field being examined.

Returns

Type Description
Boolean

true if the specified field can be added to the group; otherwise, false.

Remarks

A field cannot be added to the field groups if it’s already contained within the group.

See Also