Skip to main content
A newer version of this page is available. .

CustomLegendItem(String, String) Constructor

Initializes a new instance of the CustomLegendItem class with the specified name and text.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.1.dll

Declaration

public CustomLegendItem(
    string name,
    string text
)

Parameters

Name Type Description
name String

A String value specifying the name of the legend item. This value will be assigned to the ChartElementNamed.Name property.

text String

A String value specifying the text of the legend item. This value will be assigned to the CustomLegendItem.Text property.

See Also