Chart.OnCustomizeLegend(LegendItemsCollection, String) Chart.OnCustomizeLegend(LegendItemsCollection, String) Chart.OnCustomizeLegend(LegendItemsCollection, String) 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 String String String

The name of the legend.

Applies to