是否可以格式化工具提示文本(粗体,下划线...等)? [英] Is it possible to format Tooltip-Text (bold, underline... etc)?

查看:167
本文介绍了是否可以格式化工具提示文本(粗体,下划线...等)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在WinForms应用程序中做一些标准工具提示的一些段落。这是可能吗?



如果没有,是否有一个(免费)工具提示组件,允许我对它们进行风格化(最好还是边框和背景)?



谢谢!

解决方案

您可以使用此类型:。此链接中的代码用于普通ToolTip,而不是上面发布的气球。


I want to make some passages of a standard tooltip bold in a WinForms application. Is this possible?

If not, is there a (free) tooltip component that allows me to style them (preferably also border and background)?

Thanks!

解决方案

You can use this type : Balloon tool tip. This let you have some bold title and some color option. You might be able to modify the source to get underline, italic and bold inside the message.

Update:

You can modify the drawing of the ToolTip (and the FONT object of the text). This is how to do it. The code in this link is for the normal ToolTip, not the Balloon I posted above.

这篇关于是否可以格式化工具提示文本(粗体,下划线...等)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆