LegendCell Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
LegendCell(LegendCellType, String) |
Initializes a new instance of the LegendCell class with the specified cell type and a |
LegendCell(LegendCellType, String, ContentAlignment) |
Initializes a new instance of the LegendCell class with the specified cell type, content alignment, and a |
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.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.
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::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.
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::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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기