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

Definition

Constructors

Initializes a new instance of the ChartViewCollection class.

C#
public ChartViewCollection(IChartViewHost owner)
Parameters:ownerIChartViewHost

The owner.

Methods

Adds a new view.

C#
public virtual ChartView AddNew()
Returns:

ChartView

Adds a new view with the specified name.

C#
public virtual ChartView AddNew(string viewName)
Parameters:viewNamestring

Name of the view.

Returns:

ChartView

Adds the range.

C#
public void AddRange(params ChartView[] items)
Parameters:itemsChartView[]

Removes all elements from the Collection<T>.

C#
protected override void ClearItems()

Overrides: Collection<ChartView>.ClearItems()

Inserts the item.

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

The index.

itemChartView

The item.

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

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<ChartView>.RemoveItem(int)

Sets the item.

C#
protected override void SetItem(int index, ChartView item)
Parameters:indexint

The index.

itemChartView

The item.

Overrides: Collection<ChartView>.SetItem(int, ChartView)