PivotGridCustomTotalCollectionBase.IndexOf(PivotGridCustomTotalBase) Method

Returns the index of the specified element.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public int IndexOf(
    PivotGridCustomTotalBase customTotal
)
Public Function IndexOf(
    customTotal As PivotGridCustomTotalBase
) As Integer

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