The TasksListControl is the type that represents each row in a FlexyGantt's chart-area.
Each of these instances can be accessed as follows:
// Wait for GanttControl.TemplateApplied to retrieve the GanttChart.
this.ganttControl2.TemplateApplied += delegate
(object sender, EventArgs e)
{
// Wait for the GanttChart to load
this.ganttControl2.GanttChart.Loaded += delegate
(object s, RoutedEventArgs args)
{
// Retrieve the TasksListControl in the chart.
List<TasksListControl> tasksListControls = new List<TasksListControl>();
Extensions.GetChildren<TasksListControl>(this.ganttControl2, ref tasksListControls, false, false);
foreach (TasksListControl tlc in tasksListControls)
{
DragManager<Battalion>.RegisterDropTarget(tlc, Drop);
}
};
};
� RadiantQ 2009 - 2019. All Rights Reserved.