将控件添加到现有的丝带组在Office(VSTO) [英] Add controls to existing ribbon group in Office (VSTO)

查看:117
本文介绍了将控件添加到现有的丝带组在Office(VSTO)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找到如何将新组添加到一个现有的带状的例子不胜枚举,而这工作得很好。

I find numerous examples on how to add a new group to an existing ribbon, and this works just fine.

我想不通的是我怎么可以添加新的控件到现有组在现有的丝带。说我要添加自己的命令,将校对组中的查看选项卡上。

What I cannot figure out is how I can add new controls to an existing group on an existing ribbon. Say I want to add my own command to the "Proofing" group on the "Review" tab.

我开发这个在VS2010的Office2010中,但我想同样的方法将工作在Office 2007也是如此。

I'm developing this in VS2010 for Office2010, but I guess the same approach would work on Office 2007 as well.

任何指针或帮助是AP preciated,或者如果它是不可能做(没有太多的黑客)我可以接受这一点。

Any pointers or help is appreciated, or if it's not possible to do (without too much hacking) I can live with that as well.

推荐答案

不幸的是,这是不可能的。你可以只控制添加到自定义组在Office 2007/2010。

Unfortunately, this is not possible. You may only add controls to custom groups in Office 2007/2010.

内置组是真正不同的东西比自定义组,你可能会增加。例如,您将看到的例子,内置的群体,如药粥字体和段落格式方面表现不同来调整应用程序窗口。

The built-in groups are really a different thing than the custom groups that you may add. For example, you will see for example that the built-in groups such as the ones for font and paragraph formatting behave differently with respect to resizing the application window.

这篇关于将控件添加到现有的丝带组在Office(VSTO)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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