Skip to main content

LegendCollection.Item[String] Property

Returns a legend by its name.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

NuGet Package: DevExpress.Charts

#Declaration

public Legend this[string name] { get; }

#Parameters

Name Type Description
name String

A String value, specifying the legend name.

#Property Value

Type Description
Legend

An Legend object with the specified ChartElementNamed.Name property.

See Also