LegendCell Constructors

Definition

Initializes a new instance of the LegendCell class.

Overloads

LegendCell()

Initializes a new instance of the LegendCell class.

LegendCell(String)

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

LegendCell(LegendCellType, String)

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.

LegendCell(LegendCellType, String, ContentAlignment)

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

LegendCell()

Initializes a new instance of the LegendCell class.

public:
 LegendCell();
public LegendCell ();
Public Sub New ()

LegendCell(String)

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

public:
 LegendCell(System::String ^ text);
public LegendCell (string text);
new System.Web.UI.DataVisualization.Charting.LegendCell : string -> System.Web.UI.DataVisualization.Charting.LegendCell
Public Sub New (text As String)

Parameters

text
String

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

LegendCell(LegendCellType, String)

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.

public:
 LegendCell(System::Web::UI::DataVisualization::Charting::LegendCellType cellType, System::String ^ text);
public LegendCell (System.Web.UI.DataVisualization.Charting.LegendCellType cellType, string text);
new System.Web.UI.DataVisualization.Charting.LegendCell : System.Web.UI.DataVisualization.Charting.LegendCellType * string -> System.Web.UI.DataVisualization.Charting.LegendCell
Public Sub New (cellType As LegendCellType, text As String)

Parameters

cellType
LegendCellType

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

text
String

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

LegendCell(LegendCellType, String, ContentAlignment)

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

public:
 LegendCell(System::Web::UI::DataVisualization::Charting::LegendCellType cellType, System::String ^ text, System::Drawing::ContentAlignment alignment);
public LegendCell (System.Web.UI.DataVisualization.Charting.LegendCellType cellType, string text, System.Drawing.ContentAlignment alignment);
new System.Web.UI.DataVisualization.Charting.LegendCell : System.Web.UI.DataVisualization.Charting.LegendCellType * string * System.Drawing.ContentAlignment -> System.Web.UI.DataVisualization.Charting.LegendCell
Public Sub New (cellType As LegendCellType, text As String, alignment As ContentAlignment)

Parameters

cellType
LegendCellType

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

text
String

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

alignment
ContentAlignment

A ContentAlignment value that represents the alignment of the legend cell contents.

Applies to