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

ChartCollection.IndexOf(Chart) Method

Returns the index of the specified chart in the collection.

Namespace: DevExpress.Spreadsheet.Charts

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

Declaration

int IndexOf(
    Chart chart
)
Function IndexOf(
    chart As Chart
) As Integer

Parameters

Name Type Description
chart Chart

A Chart object to locate in the collection.

Returns

Type Description
Int32

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

See Also