This represents a collection of Legend objects.
LegendCollection class is a strongly typed collection of legends.
Visual Basic (Declaration) | |
---|---|
Public Class LegendCollection |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class LegendCollection |
The LegendCollection class represents a collection of Legend objects. This collection class is implemented as the Legends collection property of the root Chart object.
Legend objects can be appended, inserted or removed from the collection at both design-time and run-time.
A legend object named "Default" always exists and cannot be removed.
The Count property indicates the total number of items in the collection, and is commonly used to find the upper bound of the collection.
System.Object
Dundas.Charting.WinControl.LegendCollection
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