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

PivotGridCustomTotalCollectionBase.IndexOf(PivotGridCustomTotalBase) Method

Returns the index of the specified element.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public int IndexOf(
    PivotGridCustomTotalBase customTotal
)

Parameters

Name Type Description
customTotal PivotGridCustomTotalBase

A PivotGridCustomTotalBase descendant representing the collection element.

Returns

Type Description
Int32

An integer value representing the zero-based index of the specified element; -1 if the element has not been found.

See Also