Dundas Chart for Windows Forms
LegendCollection Class
Members  See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace : LegendCollection Class


This represents a collection of Legend  objects.


LegendCollection class is a strongly typed collection of legends.

Object Model

Syntax

Visual Basic (Declaration)  
Public Class LegendCollection 
Visual Basic (Usage) Copy Code
Dim instance As LegendCollection
C#  
public class LegendCollection 

Remarks

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.

Inheritance Hierarchy

System.Object
   Dundas.Charting.WinControl.LegendCollection

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.