public delegate void CustomizeLegendEventHandler( object sender, CustomizeLegendEventArgs e );
Public Delegate Sub CustomizeLegendEventHandler( sender As Object, e As CustomizeLegendEventArgs )
A CustomizeLegendEventArgs object that contains data related to the event.
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.