Class
SparkAnnotationCollection

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class SparkAnnotationCollection : Collection<SparkAnnotation>, IList, ICollection, IEnumerable

Inheritance: objectCollection<SparkAnnotation>SparkAnnotationCollection

Implements: ICollectionIEnumerableIList

Inherited Members Collection<SparkAnnotation>.Add(SparkAnnotation)Collection<SparkAnnotation>.Clear()Collection<SparkAnnotation>.CopyTo(SparkAnnotation[], int)Collection<SparkAnnotation>.Contains(SparkAnnotation)Collection<SparkAnnotation>.GetEnumerator()Collection<SparkAnnotation>.IndexOf(SparkAnnotation)Collection<SparkAnnotation>.Insert(int, SparkAnnotation)Collection<SparkAnnotation>.Remove(SparkAnnotation)Collection<SparkAnnotation>.RemoveAt(int)Collection<SparkAnnotation>.SetItem(int, SparkAnnotation)Collection<SparkAnnotation>.CountCollection<SparkAnnotation>.ItemsCollection<SparkAnnotation>.this[int]

Constructors

SparkAnnotationCollection(SparkArea)

Initializes a new instance of the SparkAnnotationCollection class.

Declaration

cs-api-definition
public SparkAnnotationCollection(SparkArea owner)

Parameters

owner

SparkArea

The owner.

Properties

Owner

Gets the owner.

Declaration

cs-api-definition
public SparkArea Owner { get; }

Property Value

SparkArea

The owner.

Methods

AddRange(params SparkAnnotation[])

Adds the range.

Declaration

cs-api-definition
public void AddRange(params SparkAnnotation[] items)

Parameters

items

SparkAnnotation[]

ClearItems()

Removes all elements from the Collection<T>.

Declaration

cs-api-definition
protected override void ClearItems()

Overrides Collection<SparkAnnotation>.ClearItems()

InsertItem(int, SparkAnnotation)

Inserts the item at the specific index.

Declaration

cs-api-definition
protected override void InsertItem(int index, SparkAnnotation item)

Parameters

index

int

The index.

item

SparkAnnotation

The item.

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

RemoveItem(int)

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

Declaration

cs-api-definition
protected override void RemoveItem(int index)

Parameters

index

int

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)