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

Definition

Constructors

Initializes a new instance of the SparkElementCollection class.

C#
public SparkElementCollection(UISparkElement owner, IList<UISparkElement> list)
Parameters:ownerUISparkElement

The owner.

listIList<UISparkElement>

The list.

Initializes a new instance of the SparkElementCollection class.

C#
public SparkElementCollection(UISparkElement owner)
Parameters:ownerUISparkElement

The owner.

Methods

Adds the range.

C#
public void AddRange(params UISparkElement[] items)
Parameters:itemsUISparkElement[]

Removes all elements from the Collection<T>.

C#
protected override void ClearItems()

Overrides: Collection<UISparkElement>.ClearItems()

Inserts the item.

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

The index.

itemUISparkElement

The item.

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

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