.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > LegendEntry Class > LegendEntry Constructor : LegendEntry Constructor(String,String,Color)
Sets the LegendEntry.Name property.
Sets the LegendEntry.Value property.
Sets the LegendEntry.Background.Color property.
LegendEntry Constructor(String,String,Color)
Initializes a new instance of the LegendEntry class with a Name, Value and icon color.
Syntax
'Declaration
 
Public Function New( _
   ByVal nameString As String, _
   ByVal valueString As String, _
   ByVal iconBackgroundColor As Color _
)
'Usage
 
Dim nameString As String
Dim valueString As String
Dim iconBackgroundColor As Color
 
Dim instance As New LegendEntry(nameString, valueString, iconBackgroundColor)

Parameters

nameString
Sets the LegendEntry.Name property.
valueString
Sets the LegendEntry.Value property.
iconBackgroundColor
Sets the LegendEntry.Background.Color property.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also