Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
345
DoubleClick in timeline area
posted

My question: Is it possible to detect a special task bei doubleclicking on it in the timeline area?

I want to display further informations of the clicked task and therefore I need some code for exact detecting this task

thanx Thomas

Parents
No Data
Reply
  • 69832
    Verified Answer
    Offline posted

    void ganttView_MouseDoubleClick(object sender, MouseEventArgs e)
    {
        UltraGanttView control = sender as UltraGanttView;
        Task taskAtPoint = control.TaskFromPoint( e.Location );

        if ( taskAtPoint != null )
        {
            //  Do stuff
        }
    }

Children