10603 : Finding selected time items


I have a gantt with an OnTimeItem_SelectionChanged Event.

In this event, I need to find out, how many TimeItems are selected.
In addition, I need to iterate through the selected TimeItems and/or the attached GanttRow’s.
Is there an appropriate collection in your object model?


gantt1.GetSelectedTimeItems returns TimeItem[]

For each time item you get the GanttRow from timeItem[x].Layer.GanttRow

Leave a Reply