开发者

Change custom Office ribbon size on window resize

In our Office add-in we need the ribbon buttons to behave the same way as regular Of开发者_C百科fice ribbon buttons do when you resize the form: as the form becomes smaller, some images also become smaller, then disappear altogether. I have no idea how to do the same for our custom ribbon group, the buttons always stay the same. Please note, this is Office UI ribbon, not WPF ribbon, which is much more customizable

Thanks!


It turns out this is not supported under Office 2007. In Office 2010 you can set scaling per group by adding the following XML attribute: autoScale="true"


OK, but is "autoScale" also possible when customizing the ribbon within a VSTO project and the ribbon designer in Visual Studio?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜