关于工具提示编辑 [英] regarding tooltip editing

查看:85
本文介绍了关于工具提示编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何像粗体显示标题文本一样编辑工具提示?

how to edit the tooltip like bold the header text?

推荐答案

如果您谈论的是Windows Forms application ,那么我认为ToolTip 类具有 http://msdn.microsoft.com/en-us/library/system. windows.forms.tooltip.aspx [ ^ ]可能无法获得上述效果,除非将其派生并包含所需的功能.

在这方面,我认为此CodeProject文章中给出的控件
您将使用的专业HTML渲染器 [的"http://www.codeproject.com/Articles/32376/A-Professional-HTML-Renderer-You-Will-Use" target ="_ blank" title ="New Window"> ^ ] > Jose MenendezPóo非常好,可以在ToolTip中使用页眉,页脚和图标.

我认为这可能会有所帮助.
If you are talking about the Windows Forms application then I think the with the ToolTip class http://msdn.microsoft.com/en-us/library/system.windows.forms.tooltip.aspx[^] it may not be possible as it is to get the above effects unless it is derived and the required functionality is incorporated.

In this regard I think the control given in this CodeProject article
A Professional HTML Renderer You Will Use[^] by Jose Menendez Póo is very good which permits usage of header, footer and icons in ToolTip.

I think it may be helpful.


设置工具提示的属性,例如

set the properties of tooltip like

ToolTip1.ToolTipTitle = "CLICK BUTTON"
        ToolTip1.IsBalloon = True
        ToolTip1.SetToolTip(Button1, "Click")




另请参见下面的链接
http://www.c-sharpcorner.com/uploadfile/mahesh/tooltip-in -C-Sharp/ [ ^ ]




See below link also
http://www.c-sharpcorner.com/uploadfile/mahesh/tooltip-in-C-Sharp/[^]


这篇关于关于工具提示编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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