Class
SparkElementCollection

Definition

Namespace:Telerik.WinControls.UI.Sparkline

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class SparkElementCollection : Collection<UISparkElement>, IList, ICollection, IEnumerable

Inheritance: objectCollection<UISparkElement>SparkElementCollection

Implements: ICollectionIEnumerableIList

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

Constructors

SparkElementCollection(UISparkElement)

Initializes a new instance of the SparkElementCollection class.

Declaration

cs-api-definition
public SparkElementCollection(UISparkElement owner)

Parameters

owner

UISparkElement

The owner.

SparkElementCollection(UISparkElement, IList<UISparkElement>)

Initializes a new instance of the SparkElementCollection class.

Declaration

cs-api-definition
public SparkElementCollection(UISparkElement owner, IList<UISparkElement> list)

Parameters

owner

UISparkElement

The owner.

list

IList<UISparkElement>

The list.

Methods

AddRange(params UISparkElement[])

Adds the range.

Declaration

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

Parameters

items

UISparkElement[]

ClearItems()

Removes all elements from the Collection<T>.

Declaration

cs-api-definition
protected override void ClearItems()

Overrides Collection<UISparkElement>.ClearItems()

InsertItem(int, UISparkElement)

Inserts the item.

Declaration

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

Parameters

index

int

The index.

item

UISparkElement

The item.

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

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