Bewerken

Share via


LegendCellColumn Constructors

Definition

Initializes a new instance of the LegendCellColumn class.

Overloads

LegendCellColumn()

Initializes a new instance of the LegendCellColumn class.

LegendCellColumn(String, LegendCellColumnType, String)

Initializes a new instance of the LegendCellColumn class with the specified header text, column type and column cell text.

LegendCellColumn(String, LegendCellColumnType, String, ContentAlignment)

Initializes a new instance of the LegendCellColumn class with the specified header text, column type, column cell text and content alignment.

LegendCellColumn()

Initializes a new instance of the LegendCellColumn class.

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

Applies to

LegendCellColumn(String, LegendCellColumnType, String)

Initializes a new instance of the LegendCellColumn class with the specified header text, column type and column cell text.

public:
 LegendCellColumn(System::String ^ headerText, System::Windows::Forms::DataVisualization::Charting::LegendCellColumnType columnType, System::String ^ text);
public LegendCellColumn (string headerText, System.Windows.Forms.DataVisualization.Charting.LegendCellColumnType columnType, string text);
new System.Windows.Forms.DataVisualization.Charting.LegendCellColumn : string * System.Windows.Forms.DataVisualization.Charting.LegendCellColumnType * string -> System.Windows.Forms.DataVisualization.Charting.LegendCellColumn
Public Sub New (headerText As String, columnType As LegendCellColumnType, text As String)

Parameters

headerText
String

The text for the legend cell column header.

columnType
LegendCellColumnType

A LegendCellColumnType enumeration value that represents the legend cell column type.

text
String

The text for the legend cell column.

Applies to

LegendCellColumn(String, LegendCellColumnType, String, ContentAlignment)

Initializes a new instance of the LegendCellColumn class with the specified header text, column type, column cell text and content alignment.

public:
 LegendCellColumn(System::String ^ headerText, System::Windows::Forms::DataVisualization::Charting::LegendCellColumnType columnType, System::String ^ text, System::Drawing::ContentAlignment alignment);
public LegendCellColumn (string headerText, System.Windows.Forms.DataVisualization.Charting.LegendCellColumnType columnType, string text, System.Drawing.ContentAlignment alignment);
new System.Windows.Forms.DataVisualization.Charting.LegendCellColumn : string * System.Windows.Forms.DataVisualization.Charting.LegendCellColumnType * string * System.Drawing.ContentAlignment -> System.Windows.Forms.DataVisualization.Charting.LegendCellColumn
Public Sub New (headerText As String, columnType As LegendCellColumnType, text As String, alignment As ContentAlignment)

Parameters

headerText
String

The text for the legend cell column header.

columnType
LegendCellColumnType

A LegendCellColumnType enumeration value that represents the legend cell column type.

text
String

The text for the legend cell column.

alignment
ContentAlignment

The legend column content alignment.

Applies to