Gantt View Tool Tip

2 posts, 1 answers
  1. Nagaraj
    Nagaraj avatar
    15 posts
    Member since:
    Jan 2015

    Posted 11 Mar 2015 Link to this post

    How to add tool tip for GanttView
  2. Answer
    Stefan avatar
    2891 posts

    Posted 12 Mar 2015 Link to this post

    Hello Nagaraj,

    Thank you for writing.

    Most of our controls feature the ToolTipTextNeeded event, which is fired when an element is being hovered, so you can assign its tooltip. Here is how to do this for the task elements in RadGanttView:
    Private Sub radGanttView1_ToolTipTextNeeded(sender As Object, e As ToolTipTextNeededEventArgs)
        Dim taskElement As GanttViewTaskElement = TryCast(sender, GanttViewTaskElement)
        If taskElement IsNot Nothing Then
            e.ToolTipText = taskElement.Text
        End If
    End Sub

    I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft banner
Back to Top