[]
Represents the settings for the LegendItemsCollection class.
[TypeConverter(typeof(StdCollectionTypeConverter))]
public sealed class LegendItemsCollection : CollectionBase, IList, ICollection, IEnumerable, IGraphItem, ICloneable
| Name | Description |
|---|---|
| LegendItemsCollection(LegendItem[]) | Initializes new instance of the LegendItemsCollection class |
| Name | Description |
|---|---|
| Capacity | Gets or sets the number of elements that the CollectionBase can contain. |
| Count | Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden. |
| this[int] | Get or sets custom legend item by given index |
| this[string] | Get or sets custom legend item by given name |
| Name | Description |
|---|---|
| Add(LegendItem) | Adds new legend item to the current collection |
| AddRange(LegendItem[]) | Adds array of legend items to collection |
| Clone() | Creates a new object that is a copy of the current instance. |
| Contains(LegendItem) | Determines whether the Collection contains the given LegendItem |
| CopyTo(LegendItem[], int) | Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array. |
| Equals(object) | Determines whether the specified object is equal to this instance. |
| GetHashCode() | Returns a hash code for this instance. |
| IndexOf(LegendItem) | Returns the index of the first occurrence of a value in the collection. |
| Insert(int, LegendItem) | Inserts a legend item into the collection at the specified index. |
| OnClearComplete() | |
| OnInsert(int, object) | Performs additional custom processes before inserting a new item into the collection instance. |
| OnRemoveComplete(int, object) | |
| Remove(LegendItem) | Removes the first occurrence of a specific object from the collection. |