Chart.OnCustomizeLegend(LegendItemsCollection, String) 方法

定义

引发 CustomizeLegend 事件。

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)

参数

legendName
String

图例的名称。

适用于