Chart.Legends 属性

定义

获取或设置一个LegendCollection用于存储控件使用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对象。

适用于