Skip to main content

LegendCollection.Item[Int32] Property

Provides indexed access to individual items in the collection.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public Legend this[int index] { get; }

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.

Property Value

Type Description
Legend

A Legend object which represents the legend at the specified position.

Remarks

Use this property to access items using index notation.

See Also