简体   繁体   中英

Visual Studio 2012 - C# - outlook 2013 Add on

Is it possible to make a butoon at Ribbon be visible only when a email window is open? I don't want to be visible at the default outlook ribbon when the application loaded.

Thanks.

Yes, it is. If you use the Ribbon Designer you can set the RibbonType property of the OfficeRibbon class. Set the property to the Compose or Read property values.

在此处输入图片说明

If you use the XML markup, you need to check out the RibbonID parameter passed to the GetCustomUI method of the IRibbonExtensibility interface. See Implementing the IRibbonExtensibility Interface for more information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM