ClassPresenterCollection<T>
Represents a strongly typed collection of ChartElementPresenter instances.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Type Parameters:
T
Must be ChartElementPresenter.
Syntax:
public class PresenterCollection<T> : Collection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : ChartElementPresenter
Inheritance: objectCollection<T>PresenterCollection<T>
Implements:
Inherited Members
Methods
ClearItems()
Removes all elements from the Collection<T>.
Declaration
protected override void ClearItems()
Overrides
InsertItem(int, T)
Inserts an element into the collection at the specified index.
Declaration
protected override void InsertItem(int index, T item)
Parameters
index
item
T
Overrides
RemoveItem(int)
Removes the element at the specified index of the collection.
Declaration
protected override void RemoveItem(int index)
Parameters
index
Overrides
SetItem(int, T)
Replaces the element at the specified index.
Declaration
protected override void SetItem(int index, T item)
Parameters
index
The zero-based index of the element to replace.
item
T
The new value for the element at the specified index. The value can be null for reference types.
Exceptions
index is less than zero.
-or-
index is greater than Count.
Overrides