GanttView for WPF | ComponentOne
C1.WPF.GanttView Assembly / C1.GanttView Namespace / TaskCollection Class


In This Topic
    TaskCollection Class Methods
    In This Topic

    For a list of all members of this type, see TaskCollection members.

    Public Methods
     NameDescription
    Public MethodAdds a new Task object to the collection. If the item already exists in the collection, its index is returned.  
    Public MethodAdds a new item to the list.  
    Public MethodOverloaded.  (Inherited from C1.Schedule.BaseCollection<Task>)
    Public MethodSorts the tasks.  
    Public MethodDiscards a pending new item.  
    Public MethodRemoves all tasks from the collection.  
    Public MethodRemoves all tasks from the collection, then disposes the tasks.  
    Public MethodOverloaded.  (Inherited from C1.Schedule.BaseCollection<Task>)
    Public Method (Inherited from System.Collections.ObjectModel.Collection<TItem>)
    Public MethodCommits a pending new item to the collection.  
    Public MethodOverloaded. Searches for the specified ID and returns the zero-based index of the corresponding task.  
    Public Method (Inherited from System.Collections.ObjectModel.Collection<TItem>)
    Public MethodReturns the original zero-based index of the task.  
    Public MethodOverloaded.  (Inherited from System.Collections.ObjectModel.KeyedCollection<TKey,TItem>)
    Public Method (Inherited from System.Collections.ObjectModel.Collection<TItem>)
    Public MethodRemove all sorts were applied to the tasks.  
    Public MethodCauses a control bound to the collection to reread all the items in the list and refresh their displayed values.  
    Public MethodCauses a control bound to the collection to reread the item at the specified index, and refresh its displayed value.  
    Public MethodOverloaded. Searches for a Task with the specified ID.  
    Public MethodSorts the tasks.  
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. Begin updating collection.  
    Protected Method (Inherited from System.Collections.ObjectModel.KeyedCollection<TKey,TItem>)
    Protected MethodOverridden. Removes all items from the collection.  
    Protected MethodOverridden. End updating collection.  
    Protected Method (Inherited from C1.Schedule.BaseCollection<Task>)
    Protected MethodOverridden. Inserts an item at the specified index.  
    Protected Method (Inherited from C1.Schedule.C1ObservableKeyedCollection<Guid,T>)
    Protected MethodRaises the ListChanged event.  
    Protected MethodOverridden. Removes the item at the specified index.  
    Protected MethodOverridden. Replaces the item at the specified index.  
    Top
    See Also