Legend.CustomItems Property

.NET Framework (current version)
 

Gets a LegendItemsCollection object used for custom legend items.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[<BindableAttribute(true)>]
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
member CustomItems : LegendItemsCollection with get

Property Value

Type: System.Web.UI.DataVisualization.Charting.LegendItemsCollection

A LegendItemsCollection object used for custom legend items.

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.

.NET Framework
Available since 4.0
Return to top
Show: