LegendCellColumn 构造函数
定义
初始化 LegendCellColumn 类的新实例。Initializes a new instance of the LegendCellColumn class.
重载
| LegendCellColumn() |
初始化 LegendCellColumn 类的新实例。Initializes a new instance of the LegendCellColumn class. |
| LegendCellColumn(String, LegendCellColumnType, String) |
使用指定的标题文本、列类型和列单元文本初始化 LegendCellColumn 类的新实例。Initializes a new instance of the LegendCellColumn class with the specified header text, column type and column cell text. |
| LegendCellColumn(String, LegendCellColumnType, String, ContentAlignment) |
使用指定的标题文本、列类型、列单元文本和内容对齐方式初始化 LegendCellColumn 类的新实例。Initializes a new instance of the LegendCellColumn class with the specified header text, column type, column cell text and content alignment. |
LegendCellColumn()
初始化 LegendCellColumn 类的新实例。Initializes a new instance of the LegendCellColumn class.
public:
LegendCellColumn();
public LegendCellColumn ();
Public Sub New ()
适用于
LegendCellColumn(String, LegendCellColumnType, String)
使用指定的标题文本、列类型和列单元文本初始化 LegendCellColumn 类的新实例。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::Web::UI::DataVisualization::Charting::LegendCellColumnType columnType, System::String ^ text);
public LegendCellColumn (string headerText, System.Web.UI.DataVisualization.Charting.LegendCellColumnType columnType, string text);
new System.Web.UI.DataVisualization.Charting.LegendCellColumn : string * System.Web.UI.DataVisualization.Charting.LegendCellColumnType * string -> System.Web.UI.DataVisualization.Charting.LegendCellColumn
Public Sub New (headerText As String, columnType As LegendCellColumnType, text As String)
参数
- headerText
- String
图例单元列的标头文本。The header text for the legend cell column.
- columnType
- LegendCellColumnType
一个 LegendCellColumnType 枚举值,指定用于定义图例单元内容的类型。A LegendCellColumnType enumeration value that specifies the type that will be used to define the legend cell column contents.
- text
- String
图例单元列的文本。The text of the legend cell column.
适用于
LegendCellColumn(String, LegendCellColumnType, String, ContentAlignment)
使用指定的标题文本、列类型、列单元文本和内容对齐方式初始化 LegendCellColumn 类的新实例。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::Web::UI::DataVisualization::Charting::LegendCellColumnType columnType, System::String ^ text, System::Drawing::ContentAlignment alignment);
public LegendCellColumn (string headerText, System.Web.UI.DataVisualization.Charting.LegendCellColumnType columnType, string text, System.Drawing.ContentAlignment alignment);
new System.Web.UI.DataVisualization.Charting.LegendCellColumn : string * System.Web.UI.DataVisualization.Charting.LegendCellColumnType * string * System.Drawing.ContentAlignment -> System.Web.UI.DataVisualization.Charting.LegendCellColumn
Public Sub New (headerText As String, columnType As LegendCellColumnType, text As String, alignment As ContentAlignment)
参数
- headerText
- String
图例单元列的标头文本。The header text for the legend cell column.
- columnType
- LegendCellColumnType
一个 LegendCellColumnType 枚举值,指定用于定义图例单元内容的类型。A LegendCellColumnType enumeration value that specifies the type that will be used to define the legend cell column contents.
- text
- String
图例单元列的文本。The text of the legend cell column.
- alignment
- ContentAlignment
图例单元内容的对齐方式The alignment of the legend cell contents