Skip to main content

CustomLegendItem(String, String) Constructor

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.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