CustomLegendItem(String, String) Constructor

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

Declaration

public CustomLegendItem(
    string name,
    string text
)
Public Sub New(
    name As String,
    text As String
)

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