Back to Devexpress

LegendCollection.Item[String] Property

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

latest1.4 KB
Original Source

LegendCollection.Item[String] Property

Returns a legend by its name.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public Legend this[string name] { get; }
vb
Public ReadOnly Property Item(name As String) As Legend

Parameters

NameTypeDescription
nameString

A String value, specifying the legend name.

|

Property Value

TypeDescription
Legend

An Legend object with the specified ChartElementNamed.Name property.

|

See Also

LegendCollection Class

LegendCollection Members

DevExpress.XtraCharts Namespace