Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[Browsable(false)]
[Obsolete("The CustomizeLegend event is obsolete now. Use the PivotChartingCustomizeLegend event instead.")]
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