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

Defines a collection of TimelineAnnotation objects.

Definition

Methods

Removes all elements from the Collection<T>.

C#
protected override void ClearItems()

Overrides: Collection<TimelineAnnotation>.ClearItems()

Inserts an element into the collection at the specified index.

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

The zero-based index at which item should be inserted.

itemTimelineAnnotation

The object to insert. The value can be null for reference types.

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

Removes the element at the specified index of the collection.

C#
protected override void RemoveItem(int index)
Parameters:indexint

The zero-based index of the element to remove.

Overrides: Collection<TimelineAnnotation>.RemoveItem(int)

Replaces the element at the specified index.

C#
protected override void SetItem(int index, TimelineAnnotation item)
Parameters:indexint

The zero-based index of the element to replace.

itemTimelineAnnotation

The new value for the element at the specified index. The value can be null for reference types.

Overrides: Collection<TimelineAnnotation>.SetItem(int, TimelineAnnotation)