The following tables list the members exposed by LegendCollection.
Name | Description | |
---|---|---|
![]() |
Count | Gets the number of items in the collection. Number of items in the collection. |
![]() |
IsFixedSize | Gets a value indicating whether the collection has a fixed size. Gets a value indicating whether the collection has a fixed size. |
![]() |
IsReadOnly | Gets a value indicating whether the collection is read-only. Gets a value indicating whether the collection is read-only. |
![]() |
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). |
![]() |
Item | Gets or sets the object at the specified index within the collection. Indexer of the class. Returns the Legend object. |
![]() |
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. |
Name | Description | |
---|---|---|
![]() |
Add | Overloaded. Adds a Legend object to the collection. |
![]() |
Clear | Clears all items from the collection. Removes all items from the collection. |
![]() |
Contains | Determines if a specific object is in the collection. Check if specified object exists in the collection. |
![]() |
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. |
![]() |
GetEnumerator | Gets a reference to the collection's enumerator. Get collection enumerator. |
![]() |
GetIndex | Gets the chart legend index by name. Get chart legend index by name. |
![]() |
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. |
![]() |
Insert | Overloaded. Inserts a Legend into the given location in the collection. |
![]() |
Remove | Used by Chart collections to remove the first occurrence of a specified object from a collection Remove object from the collection |
![]() |
RemoveAt | Used by Chart collections to remove an item from a collection at the specified index. Remove item from the collection by index. |