Chart.OnCustomizeLegend(LegendItemsCollection, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
引發 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)
參數
- legendItems
- LegendItemsCollection
- legendName
- String
圖例的名稱。