Back to Devexpress

LegendCollection.Item[Int32] Property

corelibraries-devexpress-dot-xtracharts-dot-legendcollection-dot-item-x28-system-dot-int32-x29.md

latest1.5 KB
Original Source

LegendCollection.Item[Int32] Property

Provides indexed access to individual items in the collection.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public Legend this[int index] { get; }
vb
Public ReadOnly Property Item(index As Integer) As Legend

Parameters

NameTypeDescription
indexInt32

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

TypeDescription
Legend

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

|

Remarks

Use this property to access items using index notation.

See Also

LegendCollection Class

LegendCollection Members

DevExpress.XtraCharts Namespace