Legend.CustomItems Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a LegendItemsCollection object used for custom legend items.
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
Property Value
A LegendItemsCollection object used for custom legend items.
- 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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för