New to Telerik UI for WinFormsStart a free 30-day trial

Represents a typed collection of ChartNode instances. For example an AxisModel aggregates two typed collections - Ticks and Labels.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.ChartView.dll

Type Parameters:

T

Must be a ChartNode.

Syntax:

C#
public class ElementCollection<T> : Collection<T>, IList, ICollection, IEnumerable where T : ChartNode

Inheritance: objectCollection<T>ElementCollection<T>

Derived Classes: DataPointCollection<T>

Implements: ICollectionIEnumerableIList

Inherited Members Collection<T>.Add(T)Collection<T>.Clear()Collection<T>.CopyTo(T[], int)Collection<T>.Contains(T)Collection<T>.GetEnumerator()Collection<T>.IndexOf(T)Collection<T>.Insert(int, T)Collection<T>.Remove(T)Collection<T>.RemoveAt(int)Collection<T>.SetItem(int, T)Collection<T>.CountCollection<T>.ItemsCollection<T>.this[int]...

Constructors

Initializes a new instance of the ElementCollection<T> class.

C#
public ElementCollection(ChartElement owner)
Parameters:ownerChartElement

The owner.

Methods

Removes all items from the collection.

C#
protected override void ClearItems()

Overrides: Collection<T>.ClearItems()

Inserts the item at the specified index.

C#
protected override void InsertItem(int index, T item)
Parameters:indexint

The index.

itemT

The item.

Overrides: Collection<T>.InsertItem(int, T)

Removes the item at the specified index.

C#
protected override void RemoveItem(int index)
Parameters:indexint

The index.

Overrides: Collection<T>.RemoveItem(int)