Skip to main content

TrendlineCollection.IndexOf(Trendline) Method

Returns the index of the specified item in the collection.

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

int IndexOf(
    Trendline trendline
)

Parameters

Name Type Description
trendline Trendline

A Trendline 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 doesn’t belong to the collection.

See Also