dotnetCHARTING Send comments on this topic.
LegendEntry Constructor(String,String,Color)
See Also 
dotnetCHARTING Namespace > LegendEntry Class > LegendEntry Constructor : LegendEntry Constructor(String,String,Color)


nameString
Sets the LegendEntry.Name property.
valueString
Sets the LegendEntry.Value property.
iconBackgroundColor
Sets the LegendEntry.Background.Color property.
Initializes a new instance of the LegendEntry class with a Name, Value and icon color.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal nameString As String, _
   ByVal valueString As String, _
   ByVal iconBackgroundColor As Color _
)
Visual Basic (Usage)Copy Code
Dim nameString As String
Dim valueString As String
Dim iconBackgroundColor As Color
 
Dim instance As LegendEntry(nameString, valueString, iconBackgroundColor)
C# 
public LegendEntry( 
   string nameString,
   string valueString,
   Color iconBackgroundColor
)

Parameters

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

See Also

© 2011 All Rights Reserved.