Class
ChartElementCollection

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

cs-api-definition
public class ChartElementCollection : Collection<UIChartElement>, IList, ICollection, IEnumerable

Inheritance: objectCollection<UIChartElement>ChartElementCollection

Derived Classes: AxisLabelElementCollectionChartDataPointElementCollectionEmptyChartDataPointElementCollection

Implements: ICollectionIEnumerableIList

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

Constructors

ChartElementCollection(UIChartElement)

Initializes a new instance of the ChartElementCollection class.

Declaration

cs-api-definition
public ChartElementCollection(UIChartElement owner)

Parameters

owner

UIChartElement

The owner.

ChartElementCollection(UIChartElement, IList<UIChartElement>)

Initializes a new instance of the ChartElementCollection class.

Declaration

cs-api-definition
public ChartElementCollection(UIChartElement owner, IList<UIChartElement> list)

Parameters

owner

UIChartElement

The owner.

list

IList<UIChartElement>

The list.

Methods

AddRange(params UIChartElement[])

Adds the range.

Declaration

cs-api-definition
public void AddRange(params UIChartElement[] items)

Parameters

items

UIChartElement[]

ClearItems()

Removes all elements from the Collection<T>.

Declaration

cs-api-definition
protected override void ClearItems()

Overrides Collection<UIChartElement>.ClearItems()

InsertItem(int, UIChartElement)

Inserts the item.

Declaration

cs-api-definition
protected override void InsertItem(int index, UIChartElement item)

Parameters

index

int

The index.

item

UIChartElement

The item.

Overrides Collection<UIChartElement>.InsertItem(int, UIChartElement)

RemoveItem(int)

Removes the element at the specified index of the Collection<T>.

Declaration

cs-api-definition
protected override void RemoveItem(int index)

Parameters

index

int

The zero-based index of the element to remove.

Exceptions

ArgumentOutOfRangeException

index is less than zero.-or-index is equal to or greater than Count.

Overrides Collection<UIChartElement>.RemoveItem(int)