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

XRChart.CustomizeLegend Event

OBSOLETE

The CustomizeLegend event is obsolete now. Use the PivotChartingCustomizeLegend event instead.

Occurs before automatic settings are applied to the legend‘s layout properties.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[Obsolete("The CustomizeLegend event is obsolete now. Use the PivotChartingCustomizeLegend event instead.")]
[Browsable(false)]
public event CustomizeLegendEventHandler CustomizeLegend

Event Data

The CustomizeLegend event's data class is CustomizeLegendEventArgs. The following properties provide information specific to this event:

Property Description
Legend Gets the chart’s legend.
MaxHorizontalPercentage Specifies the legend‘s maximum horizontal percentage.
MaxVerticalPercentage Specifies the legend‘s maximum vertical percentage.

Remarks

The CustomizeLegend event is now obsolete. Use the XRChart.PivotChartingCustomizeLegend event instead.

See Also