New to Telerik UI for WinFormsStart a free 30-day trial

Tooltips

Updated over 6 months ago

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

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

WinForms RadClock ToolTips

Setting tool tips in the ToolTipTextNeeded event

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

WinForms RadClock ToolTipTextNeeded

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

Not finding the help you need?
Contact Support