Chart.OnCustomizeLegend(LegendItemsCollection, String) Method

Definition

Raises the CustomizeLegend event.

protected:
 virtual void OnCustomizeLegend(System::Windows::Forms::DataVisualization::Charting::LegendItemsCollection ^ legendItems, System::String ^ legendName);
protected virtual void OnCustomizeLegend (System.Windows.Forms.DataVisualization.Charting.LegendItemsCollection legendItems, string legendName);
abstract member OnCustomizeLegend : System.Windows.Forms.DataVisualization.Charting.LegendItemsCollection * string -> unit
override this.OnCustomizeLegend : System.Windows.Forms.DataVisualization.Charting.LegendItemsCollection * string -> unit
Protected Overridable Sub OnCustomizeLegend (legendItems As LegendItemsCollection, legendName As String)

Parameters

legendName
String

The name of the legend.

Applies to