Class BaseExtensionCollection<T>
This class represents a base collection of extensions.
Inheritance
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public abstract class BaseExtensionCollection<T> : Collection<IChartExtension<T>>, IChartExtensionCollection<T>, ICollection<IChartExtension<T>>, IEnumerable<IChartExtension<T>>, IEnumerable where T : IChartExtensibleObject<T>
Type Parameters
T
The type of the extended object. |
Constructors
BaseExtensionCollection(T)
Initializes a new instance of the BaseExtensionCollection class.
Declaration
protected BaseExtensionCollection(T owner)
Parameters
T
owner
The owner. |
Methods
ClearItems()
Removes all elements from the System.Collections.ObjectModel.Collection<>.
Declaration
protected override void ClearItems()
InsertItem(Int32, IChartExtension<T>)
Inserts an element into the System.Collections.ObjectModel.Collection<> at the specified index.
Declaration
protected override void InsertItem(int index, IChartExtension<T> item)
Parameters
System.Int32
index
The zero-based index at which |
IChartExtension<T>
item
The object to insert. The value can be null for reference types. |
Exceptions
System.ArgumentOutOfRangeException
|
RemoveItem(Int32)
Removes the element at the specified index of the System.Collections.ObjectModel.Collection<>.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
The zero-based index of the element to remove. |
Exceptions
System.ArgumentOutOfRangeException
|
SetItem(Int32, IChartExtension<T>)
Replaces the element at the specified index.
Declaration
protected override void SetItem(int index, IChartExtension<T> item)
Parameters
System.Int32
index
The zero-based index of the element to replace. |
IChartExtension<T>
item
The new value for the element at the specified index. The value can be null for reference types. |
Exceptions
System.ArgumentOutOfRangeException
|