Search code examples
excelc#-4.0vstoribbon

How to create VSTO Ribbon Gallery that looks like Excel "From Other Sources"?


How do I create a Ribbon Gallery with buttons like the one in Excel, shown below? Specifically, I want to have the buttons with title and long descriptions, and icons by the side.

I am using VSTO C# and Winforms.

enter image description here

This is as far as I got:

enter image description here


Solution

  • In visual studio 2010 (VSTO 4.0) this can be accomplished by using a Menu Control, and setting the Description of the child buttons of this menu. The bold text is the label, the long non-bold text is the description.

    This only works when the Menu ItemSize is set to Large.