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

Definition

Constructors

Initializes a new instance of the ChartSeriesCollection class.

C#
public ChartSeriesCollection(ChartArea owner)
Parameters:ownerChartArea

The owner.

Properties

Gets the owner.

C#
public ChartArea Owner { get; }
Property Value:

The owner.

Methods

Adds the range.

C#
public void AddRange(params ChartSeries[] items)
Parameters:itemsChartSeries[]

Removes all elements from the Collection<T>.

C#
protected override void ClearItems()

Overrides: Collection<ChartSeries>.ClearItems()

Inserts the item at the specific index.

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

The index.

itemChartSeries

The item.

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

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