4. Model

The following table lists the most important model classes for populating a Gantt chart with data.

ClassDesription
Activity
Activities represent objects that will be displayed below the timeline in the graphics view of the Gantt chart control. Activities can be added to a specific layer on a row.
ActivityRef
An activity reference is used to precisely identify the location of an activity where the location is a combination of row, layer, and the activity itself.
ActivityLink
An activity link can be used to express a dependency between two activities.
ActivityRepository
Activity repositories are used by rows to store and lookup activities.
Row
A (model) row object is used to store the activities found on a (visual) row of the Gantt chart.
Layer
Layers are used to create groups of activities.
LinesManager
A lines manager is used to control the layout of (inner) lines inside a row.
Layout
Each row and each inner line of a row are associated with a layout. The layout influences several aspects during rendering and editing of activities. Additionally several of the system layers used for drawing the row background also utilize the layout information. 
Calendar
A calendar is an extension of an activity repository with the addition of a name and a visibility property.