[]
Legends collection class
[TypeConverter(typeof(StdCollectionTypeConverter))]
public sealed class LegendsCollection : CollectionBase, IList, ICollection, IEnumerable, IGraphItem, ICloneable
| Name | Description |
|---|---|
| LegendsCollection() | Initializes a new instance of the LegendsCollection class. |
| Name | Description |
|---|---|
| this[int] | Gets or sets collection item by given index |
| this[string] | Gets or sets collection item by given name |
| Name | Description |
|---|---|
| Add(Legend) | Adds layer object to the current collection |
| AddRange(Legend[]) | Adds a set of layers to the current collection |
| Clone() | Creates a clone of the current collection |
| Contains(Legend) | Determines whether the Collection contains the given Legend |
| CopyTo(Legend[], int) | TBW |
| Equals(object) | Compare the LegendsCollection object to another System.Object and check if the two are equal |
| GetHashCode() | It functions as a hash function for a particular type. It is suitable for use in data structures such as hash algorithm and hash table. |
| IndexOf(Legend) | Returns the index of the first occurrence of a value in the collection. |
| Insert(int, Legend) | Inserts an element into the collection at the specified index. |
| OnClear() | Removes all legend objects from the collection |
| OnClearComplete() | |
| OnInsertComplete(int, object) | |
| OnRemoveComplete(int, object) | |
| Remove(Legend) | Removes the first occurrence of a specific object from the collection. |
| Name | Description |
|---|---|
| Change | Occurs when the collection's content is changed |