Back to Devexpress

CustomizeLegendEventHandler Delegate

corelibraries-devexpress-dot-xtracharts-f42d8ea9.md

latest1.9 KB
Original Source

CustomizeLegendEventHandler Delegate

A method that will handle the ChartControl.CustomizeLegend, WebChartControl.CustomizeLegend, or XRChart.CustomizeLegend event.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public delegate void CustomizeLegendEventHandler(
    object sender,
    CustomizeLegendEventArgs e
);
vb
Public Delegate Sub CustomizeLegendEventHandler(
    sender As Object,
    e As CustomizeLegendEventArgs
)

Parameters

NameTypeDescription
senderObject

The event source. This parameter identifies the ChartControl, WebChartControl or XRChart which raised the event.

| | e | CustomizeLegendEventArgs |

A CustomizeLegendEventArgs object that contains data related to the event.

|

Remarks

When creating a CustomizeLegendEventHandler delegate, identify a method that will handle corresponding events. To associate an event with an event handler, add a delegate instance to the event. The event handler is called whenever the event occurs, unless the delegate is removed.

For more information on event handler delegates, see Events and Delegates in MSDN.

See Also

DevExpress.XtraCharts Namespace