This is a migrated thread and some comments may be shown as answers.

Gantt View Tool Tip

1 Answer 64 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Nagaraj
Top achievements
Rank 1
Nagaraj asked on 11 Mar 2015, 10:02 AM
How to add tool tip for GanttView

1 Answer, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 12 Mar 2015, 06:49 AM
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.

Regards,
Stefan
Telerik
 

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.

 
Tags
GanttView
Asked by
Nagaraj
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or