Class ElementCollection<T>
Represents a typed collection of ChartNode instances. For example an Telerik.Charting.AxisModel aggregates two typed collections - Ticks and Labels.
Inheritance
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class ElementCollection<T> : Collection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : ChartNode
Type Parameters
T
Must be a ChartNode. |
Constructors
ElementCollection(ChartElement)
Initializes a new instance of the ElementCollection<T> class.
Declaration
public ElementCollection(ChartElement owner)
Parameters
ChartElement
owner
The owner. |
Methods
ClearItems()
Removes all items from the collection.
Declaration
protected override void ClearItems()
Overrides
InsertItem(Int32, T)
Inserts the item at the specified index.
Declaration
protected override void InsertItem(int index, T item)
Parameters
System.Int32
index
The index. |
T
item
The item. |
Overrides
RemoveItem(Int32)
Removes the item at the specified index.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
The index. |