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

Definition

Constructors

Initializes a new instance of the ChartAnnotationCollection class.

C#
public ChartAnnotationCollection(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 ChartAnnotation[] items)
Parameters:itemsChartAnnotation[]

Removes all elements from the Collection<T>.

C#
protected override void ClearItems()

Overrides: Collection<ChartAnnotation>.ClearItems()

Inserts the item at the specific index.

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

The index.

itemChartAnnotation

The item.

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

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