Επεξεργασία

Κοινή χρήση μέσω


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 ()

Applies to

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.Windows.Forms.DataVisualization.Charting.LegendCell : string -> System.Windows.Forms.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.

Applies to

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::Windows::Forms::DataVisualization::Charting::LegendCellType cellType, System::String ^ text);
public LegendCell (System.Windows.Forms.DataVisualization.Charting.LegendCellType cellType, string text);
new System.Windows.Forms.DataVisualization.Charting.LegendCell : System.Windows.Forms.DataVisualization.Charting.LegendCellType * string -> System.Windows.Forms.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.

Applies to

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::Windows::Forms::DataVisualization::Charting::LegendCellType cellType, System::String ^ text, System::Drawing::ContentAlignment alignment);
public LegendCell (System.Windows.Forms.DataVisualization.Charting.LegendCellType cellType, string text, System.Drawing.ContentAlignment alignment);
new System.Windows.Forms.DataVisualization.Charting.LegendCell : System.Windows.Forms.DataVisualization.Charting.LegendCellType * string * System.Drawing.ContentAlignment -> System.Windows.Forms.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