简体   繁体   中英

Excel-DNA RibbonGallery implementation

I am trying to implement a selection button/drop down menu (not combo box) in ExcelDNA - in VSTO terms it's a RibbonGallery - much like the bottom of the paste button or the Conditional Formatting in XL2013.

Is this possible? I don't need fancy graphics, just a list of text items on a single level menu. I would ideally add these items programatically on application launch.

下拉式菜单

I think you are looking for the dynamicMenu control. See this answer here on SO:

How to re-trigger GetCustomUI() from ExcelDNA https://stackoverflow.com/a/34033472

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