Skip to main content
A newer version of this page is available. .

LegendCollection.Item[String] Property

Returns a legend by its name.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.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