LegendCellColumn 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 LegendCellColumn 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| LegendCellColumn() |
初始化 LegendCellColumn 類別的新執行個體。 |
| LegendCellColumn(String, LegendCellColumnType, String) |
初始化類別的新實例 LegendCellColumn ,並以指定的標頭文字、欄位類型及欄位儲存格文字。 |
| LegendCellColumn(String, LegendCellColumnType, String, ContentAlignment) |
初始化一個新的類別實例 LegendCellColumn ,並依指定的標頭文字、欄位類型、欄位儲存格文字及內容對齊。 |
LegendCellColumn()
初始化 LegendCellColumn 類別的新執行個體。
public:
LegendCellColumn();
public LegendCellColumn();
Public Sub New ()
適用於
LegendCellColumn(String, LegendCellColumnType, String)
初始化類別的新實例 LegendCellColumn ,並以指定的標頭文字、欄位類型及欄位儲存格文字。
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)
參數
- headerText
- String
圖例儲存格欄位標頭的文字。
- columnType
- LegendCellColumnType
一個 LegendCellColumnType 代表圖例格欄位類型的枚舉值。
- text
- String
圖例單元欄位的文字。
適用於
LegendCellColumn(String, LegendCellColumnType, String, ContentAlignment)
初始化一個新的類別實例 LegendCellColumn ,並依指定的標頭文字、欄位類型、欄位儲存格文字及內容對齊。
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)
參數
- headerText
- String
圖例儲存格欄位標頭的文字。
- columnType
- LegendCellColumnType
一個 LegendCellColumnType 代表圖例格欄位類型的枚舉值。
- text
- String
圖例單元欄位的文字。
- alignment
- ContentAlignment
圖例欄內容對齊。