vcl-dxganttcontroltasks-de1bb4be.md
A task collection in the Gantt control.
TdxGanttControlTasks = class(
TdxGanttControlModelUIDElementList
)
A task is a base planning unit that defines a set of steps required to reach project goals. The TdxGanttControlTasks class implements the task collection functionality for the Gantt control.
The list below outlines key members of the TdxGanttControlTasks class. These members allow you to access and manage tasks.
Append | InsertCreate new tasks and add them to the collection.CountReturns the number of tasks in the collection.DeleteDeletes the specified task in the collection.GetItemByUIDProvides access to a stored task by its unique identifier.ItemsProvides indexed access to stored tasks.ResetDeletes all stored tasks except for the root task[1].
AssignCopies tasks between task collections.DataModelProvides access to the parent data model.BeginUpdate | EndUpdate | CancelUpdateAllow you to avoid excessive redraw operations during batch task collection changes.
The TdxGanttControlDataModel.Tasks property references a TdxGanttControlTasks object.
TObject TPersistent TInterfacedPersistent TdxGanttControlPersistent TdxGanttControlModelElement TdxGanttControlModelElementList TdxGanttControlModelUIDElementList TdxGanttControlTasks
Footnotes
See Also