Skip to main content
A newer version of this page is available. .

Bind to Data

  • 2 minutes to read

You can bind the GanttControl to a collection of data items that represent tasks.

You should assign your data objects to the ItemsSource collection and specify mappings to bind task properties (StartDate, EndDate, etc.) to your data source fields.

Retrieve Tasks

The GanttControl can retrieve tasks from the following sources:

Retrieve Task Relationships

You can store the task dependencies in any of the following ways:

  • Task dependencies are stored in a separate collection: each of the collection elements stores Successor-Predecessor pair.
  • Task dependencies are stored in the task objects: successor tasks store information about their predecessors.

Refer to Task Dependencies for more information.