Outlook 加载项 VSTO:未显示功能区类型属性
我是 VSTO 2015 的新用户.我想将自定义组添加到 Outlook 2010 内置功能区消息选项卡.我遵循了一个微软的例子.
I am a new VSTO 2015 user. I want to add a custom group to the Outlook 2010 built-in Ribbon message tab. I followed a Microsoft example.
创建项目后,我添加了一个新项目并选择了功能区(可视化设计器).功能区显示在设计器中,但是我在功能区的属性窗口中看不到 RibbonType 属性.因此,我无法选择允许我将自定义组添加到消息选项卡的 Microsoft.Outlook.Mail.Compose.
After creating the project I added a new Item and selected the Ribbon (Visual Designer). The ribbon shows up in the designer however I cannot see the RibbonType property in the Ribbon’s property window. Therefore I cannot select the Microsoft.Outlook.Mail.Compose that will allow me to add the custom group to the message tab.
非常感谢您的帮助.
您需要将 RibbonType 设置为 Microsoft.Outlook.Explorer.这不是默认值,一旦你设置了这个属性,你就可以设置 Ribbon Type 属性.
You need to set the RibbonType to Microsoft.Outlook.Explorer. This is not the default value, once you set this property you will be able to set the Ribbon Type property.
希望这会有所帮助.