LegendCell Constructor (LegendCellType, String)

.NET Framework (current version)

Initializes a new instance of the LegendCell class with the specified cell type and a text parameter that specifies the cell text or image name.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public LegendCell(
	LegendCellType cellType,
	string text


Type: System.Web.UI.DataVisualization.Charting.LegendCellType

A LegendCellType value that represents the legend cell type to be used.

Type: System.String

A string value that represents the cell text or image name, depending on the type of cell.

.NET Framework
Available since 4.0
Return to top