Back to Devexpress

CustomizeLegendEventArgs.Legend Property

corelibraries-devexpress-dot-xtracharts-dot-customizelegendeventargs.md

latest1.9 KB
Original Source

CustomizeLegendEventArgs.Legend Property

Gets the chart’s legend.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public Legend Legend { get; }
vb
Public ReadOnly Property Legend As Legend

Property Value

TypeDescription
Legend

A Legend object, representing the chart’s legend.

|

Remarks

Use the Legend property, to access the legend at runtime, in the ChartControl.CustomizeLegend (or, WebChartControl.CustomizeLegend event handler.

For more information, see Pivot Charting (Integration with a Pivot Grid Control).

See Also

MaxHorizontalPercentage

MaxVerticalPercentage

Integrate the WinForms Chart with the Pivot Grid Control

CustomizeLegendEventArgs Class

CustomizeLegendEventArgs Members

DevExpress.XtraCharts Namespace