Edit this page

Adding Tooltips to Appointments

You can create and associate a tooltip to an appointment in RadScheduler by setting the ToolTipText property to a string. The following example creates a new ToolTip with a custom text. This example uses the ToolTipText property of the Appointment class:

Add Appointment Tooltip

Appointment myAppointment = new Appointment(DateTime.Now, TimeSpan.FromMinutes(30), "Summary", "Description");
myAppointment.ToolTipText = "Custom Tooltip";
this.radScheduler1.Appointments.Add(myAppointment);

Dim myAppointment As New Appointment(Date.Now, TimeSpan.FromMinutes(30), "Summary", "Description")
myAppointment.ToolTipText = "Custom Tooltip"
Me.RadScheduler1.Appointments.Add(myAppointment)

See Also