Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChartCollectionBaseModel.IndexOf(ChartElementModel) Method

Returns index of the specified chart element model within the collection.

Namespace: DevExpress.XtraCharts.Designer

Assembly: DevExpress.XtraCharts.v24.2.Wizard.dll

NuGet Package: DevExpress.Win.Charts

#Declaration

public int IndexOf(
    ChartElementModel chartElement
)

#Parameters

Name Type Description
chartElement ChartElementModel

The element model whose index should be returned.

#Returns

Type Description
Int32

The zero-based index of the element model.

See Also