PivotGridGroup.CanAdd(PivotGridFieldBase) Method
In This Article
Indicates whether the specified field can be added to the field group.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
#Declaration
public bool CanAdd(
PivotGridFieldBase field
)
#Parameters
Name | Type | Description |
---|---|---|
field | Pivot |
A Pivot |
#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