Skip to main content

DataLabelCollection.IndexOf(DataLabel) Method

Returns the index of the specified item in the collection.

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

int IndexOf(
    DataLabel dataLabel
)

Parameters

Name Type Description
dataLabel DataLabel

A DataLabel 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