10141 : I want to select timeitemlink on gantt by mouse. How can I select timeitemlink by mouse?

Question

I want to select timeitemlink on gantt by mouse. But I didn’t find any associated events and methods.
How can I select timeitemlink by mouse?

Answer

This functionality is available in GTP.NET 2.0+.

Gantt.TimeItemLinks.SelectedLink returns the currenly selected link if any (otherwise it returns null)

The TimeItemLayout class has been extended with the following properties that controls link behaviour:

 AllowLinkReAssignStart  Controls if link re-assign can be done for the start of a link 
 AllowLinkReAssignTarget  Controls if link re-assign can be done for the target of a link 
 AllowLinkSelectionStart  Controls if link selection can be done for the start of a link 
 AllowLinkSelectionTarget  Controls if link selection can be done for the targer of a link 

Leave a Reply