Legend.CustomItems Właściwość

Definicja

LegendItemsCollection Pobiera obiekt używany dla niestandardowych elementów legendy.

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

Wartość właściwości

Obiekt LegendItemsCollection.

Atrybuty

Uwagi

Tej właściwości kolekcji można użyć do dodawania, usuwania lub modyfikowania niestandardowych elementów legendy.

Niestandardowe elementy legendy, w przeciwieństwie do domyślnych elementów legendy, nie mają skojarzonych serii ani punktów danych.

Aby zmodyfikować elementy legendy, użyj CustomizeLegend zdarzenia.

Dotyczy