Class TimelineAnnotationCollection
Defines a collection of TimelineAnnotation objects.
Inheritance
Namespace: Telerik.Windows.Controls.Timeline
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class TimelineAnnotationCollection : Collection<TimelineAnnotation>
Methods
ClearItems()
Removes all elements from the System.Collections.ObjectModel.Collection<>.
Declaration
protected override void ClearItems()
InsertItem(Int32, TimelineAnnotation)
Inserts an element into the collection at the specified index.
Declaration
protected override void InsertItem(int index, TimelineAnnotation item)
Parameters
System.Int32
index
The zero-based index at which item should be inserted. |
TimelineAnnotation
item
The object to insert. The value can be null for reference types. |
RemoveItem(Int32)
Removes the element at the specified index of the collection.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
The zero-based index of the element to remove. |
SetItem(Int32, TimelineAnnotation)
Replaces the element at the specified index.
Declaration
protected override void SetItem(int index, TimelineAnnotation item)
Parameters
System.Int32
index
The zero-based index of the element to replace. |
TimelineAnnotation
item
The new value for the element at the specified index. The value can be null for reference types. |