Chart.Legends Chart.Legends Chart.Legends Chart.Legends Property

Definition

Gets or sets a LegendCollection that stores all Legend objects used by the Chart control.

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

Property Value

A LegendCollection object that contains the Legend objects used by the chart.

Remarks

This collection property stores all Legend objects used by the Chart control.

Applies to