[英]How to create Tooltips like MS Office 2007/2010 in WPF
How can I create complex ToolTips for my WPF RibbonItems like I have seen in MS-Office 2007/2010. 我如何为WPF RibbonItem创建复杂的工具提示,就像在MS-Office 2007/2010中看到的那样。 A Sample image is given below. 示例图像如下。
On MSDN I got an image just like that but MSDN does not tell us how we can create it. 在MSDN上,我得到了这样的图像,但是MSDN没有告诉我们如何创建它。
If anyone can help me in making Tooltip like MS Office I will appreciate it. 如果有人可以帮助我制作像MS Office这样的工具提示,我将不胜感激。
Thanks in advance. 提前致谢。
As you can see in the documentation there are several properties on a RibbonButton
that refer to parts of the enhanced tooltip: 如您在文档中所看到的, RibbonButton
上有一些属性,它们引用了增强工具提示的各个部分:
Come to think of it, those are the exact properties mentioned in the screenshot you have there. 想一想,这些是您在屏幕快照中提到的确切属性。
You can download Ribbon Sample
code. 您可以下载Ribbon Sample
代码。
If you are beginner start with this very comprehensive tutorial Creating a Ribbon Application 如果您是初学者,请先阅读本非常全面的教程“ 创建功能区应用程序”
Specifying Ribbon Image resources 指定功能区图像资源
Also I would recommend to read this: Understanding Commands & Controls 我也建议您阅读以下内容: 了解命令和控件
For more specific issues you can find quick help in MSDN Ribbon Forum
有关更多特定问题,您可以在MSDN Ribbon Forum
找到快速帮助。
Hope it helps! 希望能帮助到你!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.