XtraChartsCollectionExtensions.Add(CustomLegendItemCollection, Action<CustomLegendItem>) Method

Adds a new custom legend item configured using the specified method to the specified legend items collection of a legend.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll

Declaration

public static void Add(
    this CustomLegendItemCollection collection,
    Action<CustomLegendItem> itemAction
)

Parameters

Name Type Description
collection CustomLegendItemCollection

A collection of custom legend items to which a new custom legend item will be added.

itemAction Action<CustomLegendItem>

A delegate method configuring a CustomLegendItem object.

Remarks

Note

This method is an extension method.

See Also