Legend.CustomItems Właściwość

Definicja

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

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

Wartość właściwości

LegendItemsCollection Obiekt używany dla niestandardowych elementów legendy.

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