.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

DataPointCollection.IndexOf(DataPoint) Method

Returns the index of the specified item in the collection.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v20.1.Core.dll

Declaration

int IndexOf(
    DataPoint dataPoint
)
Function IndexOf(
    dataPoint As DataPoint
) As Integer

Parameters

Name Type Description
dataPoint DataPoint

A DataPoint object to locate in the collection.

Returns

Type Description
Int32

A zero-based integer which specifies the item position within the collection. -1 if the item does not belong to the collection.

See Also