5 Answers, 1 is accepted
This is possible when using ScreenTips which are available for all controls: Screen Tips.
Our ToolTips are mostly like the standard ones and such functionality can be achieved only with custom painting.
I hope this will be useful. Let me know if you have additional questions.
Regards,
Dimitar
Progress Telerik
The proposal is that Tooltips would use the Telerik Presentation Framework TextPrimitive for ToolTips out of the Box, so that I do not have to implement all the plumbing required for ScreenTips on my side.
Regards
Erwin
I am afraid that our current implementation does not allow this, such functionality will require rewriting the entire Tooltips functionality (currently they extend the standard ones). And most likely this will be a breaking change for you and a big part of our customers (you will still need to make changes if we recreate the tooltips). We will have your feedback in mind but at this point, we cannot engage with this feature implementation.
Thank you for your understanding.
Regards,
Dimitar
Progress Telerik
Hello, Jeff,
Note that RadToolTip is a derivative of the standard MS ToolTip. Hence, its rendering does not support our html-like rendering. If you need to display html text, the suitable approach is to use our screen-tips as discussed before. They represent a more advanced version of tool-tips that offer easier customization and html-like text formatting: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/tooltips-and-screentips/screen-tips
RadOffice2007ScreenTipElement screenTip;
private void radButton1_ScreenTipNeeded(object sender, ScreenTipNeededEventArgs e)
{
if (screenTip == null)
{
screenTip = new Telerik.WinControls.UI.RadOffice2007ScreenTipElement();
}
screenTip.CaptionLabel.Text = "<html><color=red>Hello";
screenTip.MainTextLabel.Text = "<html>Once <b> upon </b> a time";
this.radButton1.ButtonElement.ScreenTip = screenTip;
}
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik