Search code examples
ms-officevstoribbonx

Add image in Ribbon title (in VSTO)?


I build a VSTO. Is it possible to add an image (or icon) in the text of the custom Ribbon (tab) name, like this image:

enter image description here

I even can't change the ribbon title(from ribbon.cs) with :

    private void Ribbon1_Load(object sender, RibbonUIEventArgs e)
    {
        myRibbon.Label = "something";
    }

Solution

  • No. The Ribbon XML schema does not support / allow images in the "Tab" region of the Ribbon.