How to find a task/activity by it's ID?
// Returns the Gantt Model's internal activity/task provided an id.
IActivity activity = this.ganttControl.Model[id];
And if you want to retrieve the bound data item in your data source, you can do this:
// Task is the bound data source item
Task taskSource = (Task)((DataBoundActivity)activity).DataSource;
� RadiantQ 2009 - 2019. All Rights Reserved.