.netCHARTING v10.5 Documentation


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

Parameters

nameString
Sets the LegendEntry.Name property.
valueString
Sets the LegendEntry.Value property.
iconBackground
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