Skip to main content
Row

SparklineCollection.IndexOf(Sparkline) Method

Returns the index of the specified sparkline in the collection.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v23.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

int IndexOf(
    Sparkline item
)

Parameters

Name Type Description
item Sparkline

A Sparkline object to locate in the collection.

Returns

Type Description
Int32

A zero-based integer which specifies the sparkline position within the collection. -1 if the sparkline doesn’t belong to the collection.

See Also