Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 Visual Studio 2008 Pro,是否可以对现有的 Word 功能区项目进行更改?例如,我可以在“邮件”选项卡的“完成”组中添加一个额外的邮件合并选项吗?
据我所知,您只能将组添加到内置选项卡中,而不能将控件添加到内置组中。如果要将组添加到内置选项卡:
可视化设计器:将选项卡的 ControlTypeId 设置为 Office,将 ControlId 设置为 TabMailings,然后您可以像在邮件选项卡一样向其中添加项目
功能区 XML:做这样的事情
<tabs> <tab idMso="TabMailings"> <group id="MyGroup" label="My Group"> </group> </tab> </tabs>