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


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.
Public constructor that takes the cell type and cell text (or image name).
Legend cell object constructor.

Syntax

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

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.

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.