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


The following tables list the members exposed by LegendItemsCollection.

Public Properties

  Name Description
Public Property Count

Gets the number of items in the collection.


Number of items in the collection.  
Public Property IsFixedSize Gets a value indicating whether the collection has a fixed size.
Gets a value indicating whether the collection has a fixed size.  
Public Property IsReadOnly Gets a value indicating whether the collection is read-only.
Gets a value indicating whether the collection is read-only.  
Public Property IsSynchronized Gets a value indicating whether access to the collection is synchronized.
Gets a value indicating whether access to the collection is synchronized (thread-safe).  
Public Property Item Gets or sets the object at the specified index within the collection.
Indexer of the class. Returns the LegendItem object  
Public Property SyncRoot Gets an object that can be used to synchronize access to the collection.
Gets an object that can be used to synchronize access to the collection.  
Top

Public Methods

  Name Description
Public Method Add Overloaded. Adds a custom LegendItem object to the end of the collection.  
Public Method Clear Clears all items from the collection.
Removes all items from the collection.  
Public Method Contains

Determines if a specific object is in the collection.


Check if specified object exists in the collection.  
Public Method CopyTo

This method is used by all Chart collections to copy all items in the collection to an array, starting at a particular array index.


Copies all the elements of the current collection to the specified one-dimensional collection starting at the specified destination index.  
Public Method GetEnumerator Gets a reference to the collection's enumerator.
Get collection enumerator.  
Public Method IndexOf

This method is used by Chart collections to retrieve the index of a specified object in a collection.


Gets first index of the collection item equal to the object provided.  
Public Method Insert Overloaded. Inserts a custom LegendItem object into the collection at the given location.  
Public Method Remove

Used by Chart collections to remove the first occurrence of a specified object from a collection.


Remove object from the collection  
Public Method RemoveAt

Used by Chart collections to remove an item from a collection at the specified index.


Remove item from the collection by index.  
Public Method Reverse Reverses the order of items in the collection.
Reverses the order of items in the collection.  
Top

See Also

© 2009 All Rights Reserved.