帮助在鼠标悬停时动态显示按钮文本? [英] Help with dynamic display of button text on mouse over?
本文介绍了帮助在鼠标悬停时动态显示按钮文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问候!
有人可以帮助我在鼠标悬停期间显示自定义按钮文本(内容演示者或工具提示)吗?我已经想出了如何管理按钮状态但不知道如何使用相关按钮动态显示文本(鼠标悬停)。
示例:
任何帮助将不胜感激。
非常感谢!
Greetings!
Can somebody please help me with displaying custom button text (content presenter or tooltip) during a mouse over? I have figured out how to manage button states but not sure how to dynamically display text with the associated button (on mouse over).
Example:
Any help would be greatly appreciated.
Thanks much!
推荐答案
尝试创建标签或文本框,无论您喜欢什么,并将可见性设置为隐藏。使用鼠标悬停触发器将可见性从隐藏切换为可见。
Try creating a label or textbox, whatever you like, and set the visibility to Hidden. Use the mouse over trigger to toggle the visibility from hidden to visible.
这篇关于帮助在鼠标悬停时动态显示按钮文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文