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 -> unitProtected Overridable Sub OnCustomizeLegend (legendItems As LegendItemsCollection, legendName As String)参数
- legendItems
- LegendItemsCollection
- legendName
- String
图例的名称。