I'm creating my first gantt chart project, and I'm trying to have functionality such that when you right click on a taskbar element in the chart, a context menu comes up and you can change things about the task. I know it can be done, because it's similar to the tooltip for a given task bar element. I just dont know how.
thanks
How do I get the 'TaskBarUIElement' associated with the 'TaskBarTextUIElement'? I'm trying to create different options in the context menu based on the color of the 'TaskBarUIElement'.
Hello clgroce,
Thank you for noticing this. Please try using 'TaskBarTextUIElement' instead of 'TaskBarUIElement' in all the places in the code where I am using it, I will be waiting for your feedback.
That Is exactly what I was looking for, thank you. However, this does not work if there is text inside the bar element.
Could you please review the sample attached to this post and see if it meets your requirements.Please feel free to let me know if I misunderstood you or if you have any other questions.