[]
        
(Showing Draft Content)

C1.GanttView.PredecessorCollection

PredecessorCollection Class

Represents a collection of task predecessors.

Inheritance
PredecessorCollection
Namespace: C1.GanttView
Assembly: C1.WPF.GanttView.dll
Syntax
[ListBindable(false)]
public class PredecessorCollection : Collection<Predecessor>, IList<Predecessor>, ICollection<Predecessor>, IList, ICollection, IReadOnlyList<Predecessor>, IReadOnlyCollection<Predecessor>, IEnumerable<Predecessor>, IEnumerable

Methods

Name Description
ClearItems()

Removes all items from the collection.

IndexOf(int)

Searches for the specified ID of the predecessor task and returns the zero-based index of the corresponding predecessor.

InsertItem(int, Predecessor)

Inserts an item at the specified index.

RemoveItem(int)

Removes the item at the specified index.

Search(int)

Searches for a Predecessor with the specified ID of the predecessor task.

SetItem(int, Predecessor)

Replaces the item at the specified index.