Class PresenterCollection<T>
Represents a strongly typed collection of ChartElementPresenter instances.
Inheritance
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class PresenterCollection<T> : Collection<T> where T : ChartElementPresenter
Type Parameters
T
Must be ChartElementPresenter. |
Methods
ClearItems()
Removes all elements from the System.Collections.ObjectModel.Collection<>.
Declaration
protected override void ClearItems()
InsertItem(Int32, T)
Inserts an element into the collection at the specified index.
Declaration
protected override void InsertItem(int index, T item)
Parameters
System.Int32
index
|
T
item
|
RemoveItem(Int32)
Removes the element at the specified index of the collection.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
|
SetItem(Int32, T)
Replaces the element at the specified index.
Declaration
protected override void SetItem(int index, T item)
Parameters
System.Int32
index
The zero-based index of the element to replace. |
T
item
The new value for the element at the specified index. The value can be null for reference types. |
Exceptions
System.ArgumentOutOfRangeException
|