Gantt timeline view: renders scheduled tasks as bars over a day grid, highlighting the critical path. Populate with SetSchedule.

Members

MemberKindDescription
float RowHeightPropertyGets or sets the row height.
float HeaderHeightPropertyGets or sets the header height.
float DayWidthPropertyGets or sets the day width.
float LabelWidthPropertyGets or sets the label width.
bool ShowCriticalPathPropertyHighlight rows on the critical path in a distinct color.
SKColor BarColorPropertyGets or sets the bar color.
SKColor CriticalBarColorPropertyGets or sets the critical bar color.
SKColor ProgressColorPropertyGets or sets the progress color.
SKColor GridColorPropertyGets or sets the grid color.
List<GanttRow> RowsPropertyGets or sets the rows.
string RowsJsonPropertyJSON projection of Rows used for persistence.
GanttTimelineNode()MethodInitializes a new instance of the GanttTimelineNode class.
void SetSchedule(IEnumerable<TaskNode> tasks, CriticalPathCalculator? schedule = null)MethodPopulates the timeline from tasks, optionally using a computed schedule for dates/criticality. Without a schedule, tasks are laid out sequentially.

Related