PivotGridCustomTotalCollectionBase.Contains(PivotSummaryType) Method

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

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public bool Contains(
    PivotSummaryType summaryType
)
Public Function Contains(
    summaryType As PivotSummaryType
) As Boolean

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