Skip to main content

PivotGridCustomTotalCollectionBase.Contains(PivotSummaryType) Method

Returns whether the current collection contains an element with the specified summary type.

Namespace: DevExpress.XtraPivotGrid

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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public bool Contains(
    PivotSummaryType summaryType
)

Parameters

Name Type Description
summaryType PivotSummaryType

A PivotSummaryType value that specifies the summary type to be tested.

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