GanttTimelineNode class
Project management family — class
Gantt timeline view: renders scheduled tasks as bars over a day grid, highlighting the critical path. Populate with SetSchedule.
Members
| Member | Kind | Description |
|---|---|---|
float RowHeight | Property | Gets or sets the row height. |
float HeaderHeight | Property | Gets or sets the header height. |
float DayWidth | Property | Gets or sets the day width. |
float LabelWidth | Property | Gets or sets the label width. |
bool ShowCriticalPath | Property | Highlight rows on the critical path in a distinct color. |
SKColor BarColor | Property | Gets or sets the bar color. |
SKColor CriticalBarColor | Property | Gets or sets the critical bar color. |
SKColor ProgressColor | Property | Gets or sets the progress color. |
SKColor GridColor | Property | Gets or sets the grid color. |
List<GanttRow> Rows | Property | Gets or sets the rows. |
string RowsJson | Property | JSON projection of Rows used for persistence. |
GanttTimelineNode() | Method | Initializes a new instance of the GanttTimelineNode class. |
void SetSchedule(IEnumerable<TaskNode> tasks, CriticalPathCalculator? schedule = null) | Method | Populates the timeline from tasks, optionally using a computed schedule for dates/criticality. Without a schedule, tasks are laid out sequentially. |