Skip to main content

LegendCollectionModel Methods

The LegendCollection model.
Name Description
AddNewElement(Object) Adds a newly created model of the specified legend to the collection.
ClearElements() Clears the collection. Inherited from ChartCollectionBaseModel.
DeleteElement(Object) Removes the specified legend from the collection.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(ChartElementModel) Returns index of the specified chart element model within the collection. Inherited from ChartCollectionBaseModel.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Swap(Int32, Int32) Swaps items with the specified indeces within the collection. Inherited from ChartCollectionBaseModel.
ToString() Returns the textual representation of the LegendCollectionModel.
See Also