Dundas Chart for Windows Forms
LegendCell Constructor(LegendCellType,String,ContentAlignment)
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > LegendCell Class > LegendCell Constructor : LegendCell Constructor(LegendCellType,String,ContentAlignment)


cellType
LegendCellType value representing which legend cell type will be used.
Cell type.
text
A string value representing the cell text or image name, depending on the type of cell.
Cell text or image name depending on the type.
alignment

A ContentAlignment value representing the alignment of the legend cell contents.


Cell content alignment.
Public constructor that takes the cell type, cell text (or image name), and alignment.
Legend cell object constructor.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal cellType As LegendCellType, _
   ByVal text As String, _
   ByVal alignment As ContentAlignment _
)
Visual Basic (Usage) Copy Code
Dim cellType As LegendCellType
Dim text As String
Dim alignment As ContentAlignment
 
Dim instance As LegendCell(cellType, text, alignment)
C#  
public LegendCell( 
   LegendCellType cellType,
   string text,
   ContentAlignment alignment
)

Parameters

cellType
LegendCellType value representing which legend cell type will be used.
Cell type.
text
A string value representing the cell text or image name, depending on the type of cell.
Cell text or image name depending on the type.
alignment

A ContentAlignment value representing the alignment of the legend cell contents.


Cell content alignment.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.