PivotGridGroup.CanAdd(PivotGridFieldBase) Method

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

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public bool CanAdd(
    PivotGridFieldBase field
)
Public Function CanAdd(
    field As PivotGridFieldBase
) As Boolean

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