Class ElementCollection<T>
Represents a typed collection of ChartNode instances. For example an Telerik.Charting.AxisModel aggregates two typed collections - Ticks and Labels.
Inheritance
Namespace: Telerik.Charting
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class ElementCollection<T> : Collection<T> 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()
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. |
RemoveItem(Int32)
Removes the item at the specified index.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
The index. |