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

Definition

Constructors

Initializes a new instance of the SparkAnnotationCollection class.

C#
public SparkAnnotationCollection(SparkArea owner)
Parameters:ownerSparkArea

The owner.

Properties

Gets the owner.

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

The owner.

Methods

Adds the range.

C#
public void AddRange(params SparkAnnotation[] items)
Parameters:itemsSparkAnnotation[]

Removes all elements from the Collection<T>.

C#
protected override void ClearItems()

Overrides: Collection<SparkAnnotation>.ClearItems()

Inserts the item at the specific index.

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

The index.

itemSparkAnnotation

The item.

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

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