ComponentOne GanttView for WinForms
C1.Win.C1GanttView.4.5.2 Assembly / C1.Win.C1GanttView Namespace / TaskCollection Class
Properties Methods Events

In This Topic
    TaskCollection Class Members
    In This Topic

    The following tables list the members exposed by TaskCollection.

    Public Properties
     NameDescription
    Public PropertyGets a value indicating whether items in the underlying list can be edited.  
    Public PropertyGets whether you can add items to the list using AddNew.  
    Public PropertyGets whether you can remove items from the list, using Remove or RemoveAt.  
    Public Property (Inherited from System.Collections.ObjectModel.KeyedCollection<TKey,TItem>)
    Public Property (Inherited from System.Collections.ObjectModel.Collection<TItem>)
    Public PropertyOverloaded.  (Inherited from C1.C1Schedule.BaseCollection<Task>)
    Public PropertyGets the number of non-empty tasks in the collection.  
    Public PropertyGets a value indicating whether the list supports sorting.  
    Public Property (Inherited from C1.C1Schedule.BaseCollection<Task>)
    Top
    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.C1Schedule.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.C1Schedule.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
    Public Events
     NameDescription
    Public EventOccurs before an item is added to the underlying list.  
    Public EventOccurs when the list changes or an item in the list changes.  
    Top
    See Also