public GanttRowGroup CreateGanttRowGroup() { var rowGroup = new GanttRowGroup() { }; ganttChartData.RowGroups.Add(rowGroup); return rowGroup; }
public GanttRow CreateGanttRow(GanttRowGroup rowGroup, string name) { var rowHeader = new GanttRowHeader() { Name = name }; var row = new GanttRow() { RowHeader = rowHeader, Tasks = new ObservableCollection<GanttTask>() }; rowGroup.Rows.Add(row); return row; }