ChartCollectionBase.GetElementByIndex(Int32) Method

Gets a chart element within the collection by its index.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

Declaration

public ChartElement GetElementByIndex(
    int index
)
Public Function GetElementByIndex(
    index As Integer
) As ChartElement

Parameters

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.

Returns

Type Description
ChartElement

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

See Also