CustomLegendItemCollection Class

A collection of CustomLegendItems.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.2.dll


public class CustomLegendItemCollection :
Public Class CustomLegendItemCollection
    Inherits ChartElementCollection(Of CustomLegendItem)

Returned By

The Legend.CustomItems property returns an instance of CustomLegendItemCollection.


Each legend can store a collection of CustomLegendItem objects, which can be accessed using the Legend.CustomItems property. The properties and methods exposed by the CustomLegendItemCollection class can be used to perform common collection operations, such as adding new or deleting existing items. Individual custom legend items can be accessed using either indexer notation.

See Also