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

Definition

Constructors

Initializes a new instance of the ChartElementCollection class.

C#
public ChartElementCollection(UIChartElement owner, IList<UIChartElement> list)
Parameters:ownerUIChartElement

The owner.

listIList<UIChartElement>

The list.

Initializes a new instance of the ChartElementCollection class.

C#
public ChartElementCollection(UIChartElement owner)
Parameters:ownerUIChartElement

The owner.

Methods

Adds the range.

C#
public void AddRange(params UIChartElement[] items)
Parameters:itemsUIChartElement[]

Removes all elements from the Collection<T>.

C#
protected override void ClearItems()

Overrides: Collection<UIChartElement>.ClearItems()

Inserts the item.

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

The index.

itemUIChartElement

The item.

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

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

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

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)