微软的WPF功能区 - 可以在RibbonButton上使用XAML艺术作品吗? [英] Microsoft's WPF Ribbon - can XAML artwork be used on RibbonButton?

查看:72
本文介绍了微软的WPF功能区 - 可以在RibbonButton上使用XAML艺术作品吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在玩微软的wpf功能区,在我看来,没有明显的方法可以利用存储在资源词典中的矢量图片来显示按钮上的矢量图像。 相反,看起来好像设计师正在使用PNG或ICO图像为每个按钮的小尺寸和大图像投入
。 有没有办法使用矢量图像? 在易于导航的资源中拥有高质量的矢量图片似乎是一种耻辱,只是回到生成
位图的"旧"方法,以便图形按下按钮。

I'm playing around with Microsoft's wpf ribbon, and it seems to me there is no obvious way to utilize vector artwork stored in resource dictionaries in order to display vector images on the buttons.  Instead, it looks as though designers are being funnelled towards using PNG or ICO images for a small and large image per button.  Is there a way to use vector images?  It seems a shame to have high quality vector artwork in easily navigable resourcedictionaries only to go back to the 'old' method of generating bitmaps for graphics to go on buttons.

任何我很感激。

推荐答案

我有同样的问题/想知道。  截至目前,我一直在使用屏幕截图(非常感人)。

I have the same question/issue and would like to know.  As of now i've been using screen shots (very touched up).

 


这篇关于微软的WPF功能区 - 可以在RibbonButton上使用XAML艺术作品吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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