語言

Chart.Legends 屬性

定義

取得或設定 aLegendCollection,儲存控制項使用Legend的所有Chart物件。

public:
 property System::Windows::Forms::DataVisualization::Charting::LegendCollection ^ Legends { System::Windows::Forms::DataVisualization::Charting::LegendCollection ^ get(); };
public System.Windows.Forms.DataVisualization.Charting.LegendCollection Legends { get; }
member this.Legends : System.Windows.Forms.DataVisualization.Charting.LegendCollection
Public ReadOnly Property Legends As LegendCollection

屬性值

一個 LegendCollection 包含 Legend 圖表所用物件的物件。

備註

此集合屬性儲存控制組使用Legend的所有Chart物件。

適用於