A newer version of this page is available. Switch to the current version.

ChartCollectionBase.GetElementByIndex(Int32) Method

Gets a chart element within the collection by its index.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll


public ChartElement GetElementByIndex(
    int index


Name Type Description
index Int32

A zero-based integer specifying the desired item’s position within the collection. If it’s negative or exceeds the last available index, an exception is raised.


Type Description

A ChartElement object which represents the chart element at the specified position.

See Also