Skip to main content

PivotGridCustomTotalCollectionBase.IndexOf(PivotGridCustomTotalBase) Method

Returns the index of the specified element.

Namespace: DevExpress.XtraPivotGrid

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

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

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