[]
        
(Showing Draft Content)

C1.GanttView.PredecessorCollection

PredecessorCollection Class

Represents a collection of task predecessors.

Inheritance
PredecessorCollection
Namespace: C1.GanttView
Assembly: C1.WPF.GanttView.4.6.2.dll
Syntax
[ListBindable(false)]
public class PredecessorCollection : Collection<Predecessor>, IList<Predecessor>, ICollection<Predecessor>, IList, ICollection, IReadOnlyList<Predecessor>, IReadOnlyCollection<Predecessor>, IEnumerable<Predecessor>, IEnumerable
<ListBindable(False)>
Public Class PredecessorCollection
    Inherits Collection(Of Predecessor)
    Implements IList(Of Predecessor), ICollection(Of Predecessor), IList, ICollection, IReadOnlyList(Of Predecessor), IReadOnlyCollection(Of Predecessor), IEnumerable(Of 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.