PivotGridCustomTotalCollectionBase.Contains(PivotSummaryType) Method
In This Article
Returns whether the current collection contains an element with the specified summary type.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
#Declaration
public bool Contains(
PivotSummaryType summaryType
)
#Parameters
Name | Type | Description |
---|---|---|
summary |
Pivot |
A Pivot |
#Returns
Type | Description |
---|---|
Boolean | true if the current collection contains an element with the specified summary type; otherwise, false. |
#Remarks
This method iterates through the collection and checks if the PivotGridCustomTotalBase.SummaryType property of the elements matches the specified summaryType value.
See Also