Edit this page


There are two ways to assign tooltips to RadClock, namely setting the ToolTipText property of the RadClockElement, or as in most of the RadControls by using the ToolTipTextNeeded event of RadClock. It is necessary the ShowItemToolTips property to be set to true which is the default value.

Setting the ToolTipText property

radClock1.ClockElement.ToolTipText = DateTime.Now.ToLongTimeString();

radClock1.ClockElement.ToolTipText = DateTime.Now.ToLongTimeString()

clock-tooltips 001

Setting tool tips in the ToolTipTextNeeded event

private void RadClock1_ToolTipTextNeeded(object sender, Telerik.WinControls.ToolTipTextNeededEventArgs e)
    e.ToolTipText = DateTime.Now.ToLongTimeString();

Private Sub RadClock1_ToolTipTextNeeded(sender As Object, e As Telerik.WinControls.ToolTipTextNeededEventArgs)
    e.ToolTipText = DateTime.Now.ToLongTimeString()
End Sub

clock-tooltips 002


The ToolTipTextNeeded event has higher priority and overrides the tool tips set in the ToolTipText property.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article