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.