简体   繁体   English

Excel在Ribbon Gallery控件中添加

[英]Excel Add in Ribbon Gallery control

I am looking for example on how to implement the ribbon gallery with Header intermediate (VSTO). 我正在寻找有关如何使用Header中级(VSTO)实现功能区库的示例。

I am working on Excel Add-in in c# where gallery control is used, but how to implement or show items with groups as shown in image. 我正在使用其中使用图库控件的c#中的Excel加载项进行工作,但是如何实现或显示具有组的项目,如图所示。

Each item are grouped with certain header. 每个项目都与特定的标题分组。

丝带廊

As far as I know this is not possible. 据我所知这是不可能的。

There are quite a few things like this in the Office ribbon: you can see that it can be done since the official Office ribbon has it, but there is no way to do it when developing. Office功能区中有很多类似的事情:您可以看到它是可以完成的,因为官方的Office功能区已经拥有了它,但是在开发时却没有办法。 Two examples are the one you posted and in ribbon gallery (like the Chart styles in Excel). 有两个示例,一个是您发布的,另一个是在功能区库中的(例如Excel中的图表样式)。

Here is an similar question answered by one of the authors of the RibbonX book: http://www.excelguru.ca/forums/showthread.php?612-Menu-containing-galleries-and-menu-separators 这是RibbonX本书的一位作者回答的类似问题: http : //www.excelguru.ca/forums/showthread.php? 612-Menu- contains-galleries-and-menu-separators

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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