Chart::OnCustomizeLegend Method (LegendItemsCollection^, String^)

.NET Framework (current version)
 

Raises the CustomizeLegend event.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

protected:
virtual void OnCustomizeLegend(
	LegendItemsCollection^ legendItems,
	String^ legendName
)

Parameters

legendItems
Type: System.Windows.Forms.DataVisualization.Charting::LegendItemsCollection^

A LegendItemsCollection object.

legendName
Type: System::String^

The name of the legend.

.NET Framework
Available since 4.0
Return to top
Show: