Skip to main content

PivotDataSource.GetRowIndex(Object) Method

When overridden in descendant classes, returns the index of the specified row.

Namespace: DevExpress.XtraPivotGrid

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

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

#Declaration

public virtual int GetRowIndex(
    object value
)

#Parameters

Name Type Description
value Object

A data source row.

#Returns

Type Description
Int32

Always -1.

#Remarks

Use the PivotDataSource.RowCount property to obtain the number of rows in the data source.

See Also