如何在VSTO RibbonMenu-Control上使用动画图标(gif) [英] How to use animated icon (gif) on VSTO RibbonMenu-Control
问题描述
我在这里(http://www.ajaxload.info/)创建了一个动画加载图标,并且我试图将此gif用于VSTO-RibbonMenu控件的图像属性.
在Visual Studio中,控件的图像会在设计时按需进行动画处理,但是在运行时,图像不再进行动画处理.
功能区菜单上的图像属性是否不能使用动画图标(* .gif)?还是为什么它不能在设计时运行,而不能在运行时运行?
我正在使用Visual Studio 2010,C#,Office2010
感谢您的回答.
Hi,
I have created an animated loading-icon here (http://www.ajaxload.info/) and I am trying to use this gif for the image-property of a VSTO-RibbonMenu control.
In Visual Studio the image of the control is animated during designtime as it should, but on runtime the image is not animated any more.
Isn''t it possible to use an animated icon (*.gif) for the Image-Property on a Ribbon-Menu? Or why does it work on designtime but not on runtime?
I''m using Visual Studio 2010, C#, Office2010
Thanks for answers.
推荐答案
看看这个出色的链接. http://www.abhisheksur.com/2010/08/introducing- ribbon-ui-control-for-wpf.html [ ^ ]
您是否将gif图像转换为* .ico的图标文件?
Take a look at this excellent link. http://www.abhisheksur.com/2010/08/introducing-ribbon-ui-control-for-wpf.html[^]
Did you convert your gif image to an icon file of *.ico?
这篇关于如何在VSTO RibbonMenu-Control上使用动画图标(gif)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!