Bewerken

Share via


Legend.CustomItems Property

Definition

Gets a LegendItemsCollection object used for custom legend items.

public:
 property System::Windows::Forms::DataVisualization::Charting::LegendItemsCollection ^ CustomItems { System::Windows::Forms::DataVisualization::Charting::LegendItemsCollection ^ get(); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.LegendItemsCollection CustomItems { get; }
[<System.ComponentModel.Bindable(true)>]
member this.CustomItems : System.Windows.Forms.DataVisualization.Charting.LegendItemsCollection
Public ReadOnly Property CustomItems As LegendItemsCollection

Property Value

A LegendItemsCollection object.

Attributes

Remarks

This collection property can be used to add, delete or modify custom legend items.

Custom legend items, unlike default legend items, do not have associated series or data points.

To modify legend items, use the CustomizeLegend event.

Applies to