Skip to main content
A newer version of this page is available. .

PivotGridCustomTotalCollectionBase.Contains(PivotSummaryType) Method

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

Namespace: DevExpress.XtraPivotGrid

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

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