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

Setting tooltip delay for an appointment

1 Answer 128 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Pirjo
Top achievements
Rank 1
Pirjo asked on 29 Jun 2015, 09:42 AM

Hi,

 In my code I'm adding appointments to a radScheduler like this:

 Dim app As New Appointment

app = New Appointment(Convert.ToDateTime(dr("StartTime")), Convert.ToDateTime(dr("EndTime")))

app.ToolTipText = "Some text"

 

How can I set a delay time for the tooltip, i.e. how long the tooltip text is displayed?

 

Regards,

Pirjo

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 02 Jul 2015, 06:39 AM
Hello Pirjo,

Thank you for writing.

In order to apply a delay for the tool-tip, you can use the RadScheduler.ToolTipTextNeeded event and set the ToolTipTextNeededEventArgs.ToolTip.InitialDelay property to the desired delay interval:
Private Sub ToolTipTextNeeded(sender As Object, e As Telerik.WinControls.ToolTipTextNeededEventArgs)
    If Not String.IsNullOrEmpty(e.ToolTipText) Then
        e.ToolTip.InitialDelay = 2000
    End If
End Sub

I hope this information helps. Should you have further questions, I would be glad to help.
 
Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Scheduler and Reminder
Asked by
Pirjo
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or