Skip to main content
A newer version of this page is available. .

LegendEntryCollection Members

A collection that stores customized legend entries for a series in the chart.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

Name Description
Add(Int32) Creates a new entry and adds it to the collection.
Clear() Removes all items from a collection.
Contains(LegendEntry) Determines whether the collection contains the specified entry.
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
GetEntryByIndex(Int32) Gets an entry by its index in the collection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
IndexOf(LegendEntry) Returns the index of the specified entry in the collection.
Remove(LegendEntry) Removes the specified legend entry from the collection.
RemoveAt(Int32) Removes the entry at the specified index of the LegendEntryCollection instance.
See Also