Back to Devexpress

TdxGanttControlTasks Class

vcl-dxganttcontroltasks-de1bb4be.md

latest3.3 KB
Original Source

TdxGanttControlTasks Class

A task collection in the Gantt control.

Declaration

delphi
TdxGanttControlTasks = class(
    TdxGanttControlModelUIDElementList
)

Remarks

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.

Main API Members

The list below outlines key members of the TdxGanttControlTasks class. These members allow you to access and manage tasks.

Task Collection Management

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].

General-Purpose API Members

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.

Direct TdxGanttControlTasks Class Reference

The TdxGanttControlDataModel.Tasks property references a TdxGanttControlTasks object.

Inheritance

TObject TPersistent TInterfacedPersistent TdxGanttControlPersistent TdxGanttControlModelElement TdxGanttControlModelElementList TdxGanttControlModelUIDElementList TdxGanttControlTasks

Footnotes

  1. The Gantt control always contains a root task, and an attempt to delete it causes an exception.

See Also

TdxGanttControlTasks Members

dxGanttControlTasks Unit