Outlook Add-in VSTO: Ribbon Type property is not shown

狂风中的少年 提交于 2021-01-28 04:24:41

问题


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.

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.

Your help is highly appreciated.


回答1:


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.

Hope this helps.




回答2:


To see the RibbonType property, you must select the correct part in the visual ribbon. Click on the top left part of the visual ribbon (showing the name of the Ribbon (just above "File") then you see the correct properties.



来源:https://stackoverflow.com/questions/32682312/outlook-add-in-vsto-ribbon-type-property-is-not-shown

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!