Add image in Ribbon title (in VSTO)?












0














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";
}









share|improve this question





























    0














    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";
    }









    share|improve this question



























      0












      0








      0







      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";
      }









      share|improve this question















      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";
      }






      ms-office vsto ribbonx






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 12 at 6:33









      Cindy Meister

      14.1k102134




      14.1k102134










      asked Nov 11 at 22:01









      T.Todua

      29.7k11131130




      29.7k11131130
























          1 Answer
          1






          active

          oldest

          votes


















          1














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






          share|improve this answer





















          • thanks! and what about that I can't change the label text or anything at all after ribbon-load ?
            – T.Todua
            Nov 12 at 6:36












          • @T.Todua Please ask a new question for a new topic and include more detail, such as an example of what you mean, whether you're using the Ribbon Designer or Ribbon XML in the VSTO solution, etc.
            – Cindy Meister
            Nov 12 at 6:38










          • here - stackoverflow.com/questions/53257273/… . with regard to this current topic, so I cant anyway inject image there, right?
            – T.Todua
            Nov 12 at 7:02








          • 1




            @T.Todua I'll look at it when I have time. No, there's no way to put an image in the Tab section of the Ribbon. Period.
            – Cindy Meister
            Nov 12 at 9:27











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53253686%2fadd-image-in-ribbon-title-in-vsto%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














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






          share|improve this answer





















          • thanks! and what about that I can't change the label text or anything at all after ribbon-load ?
            – T.Todua
            Nov 12 at 6:36












          • @T.Todua Please ask a new question for a new topic and include more detail, such as an example of what you mean, whether you're using the Ribbon Designer or Ribbon XML in the VSTO solution, etc.
            – Cindy Meister
            Nov 12 at 6:38










          • here - stackoverflow.com/questions/53257273/… . with regard to this current topic, so I cant anyway inject image there, right?
            – T.Todua
            Nov 12 at 7:02








          • 1




            @T.Todua I'll look at it when I have time. No, there's no way to put an image in the Tab section of the Ribbon. Period.
            – Cindy Meister
            Nov 12 at 9:27
















          1














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






          share|improve this answer





















          • thanks! and what about that I can't change the label text or anything at all after ribbon-load ?
            – T.Todua
            Nov 12 at 6:36












          • @T.Todua Please ask a new question for a new topic and include more detail, such as an example of what you mean, whether you're using the Ribbon Designer or Ribbon XML in the VSTO solution, etc.
            – Cindy Meister
            Nov 12 at 6:38










          • here - stackoverflow.com/questions/53257273/… . with regard to this current topic, so I cant anyway inject image there, right?
            – T.Todua
            Nov 12 at 7:02








          • 1




            @T.Todua I'll look at it when I have time. No, there's no way to put an image in the Tab section of the Ribbon. Period.
            – Cindy Meister
            Nov 12 at 9:27














          1












          1








          1






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






          share|improve this answer












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







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 12 at 6:34









          Cindy Meister

          14.1k102134




          14.1k102134












          • thanks! and what about that I can't change the label text or anything at all after ribbon-load ?
            – T.Todua
            Nov 12 at 6:36












          • @T.Todua Please ask a new question for a new topic and include more detail, such as an example of what you mean, whether you're using the Ribbon Designer or Ribbon XML in the VSTO solution, etc.
            – Cindy Meister
            Nov 12 at 6:38










          • here - stackoverflow.com/questions/53257273/… . with regard to this current topic, so I cant anyway inject image there, right?
            – T.Todua
            Nov 12 at 7:02








          • 1




            @T.Todua I'll look at it when I have time. No, there's no way to put an image in the Tab section of the Ribbon. Period.
            – Cindy Meister
            Nov 12 at 9:27


















          • thanks! and what about that I can't change the label text or anything at all after ribbon-load ?
            – T.Todua
            Nov 12 at 6:36












          • @T.Todua Please ask a new question for a new topic and include more detail, such as an example of what you mean, whether you're using the Ribbon Designer or Ribbon XML in the VSTO solution, etc.
            – Cindy Meister
            Nov 12 at 6:38










          • here - stackoverflow.com/questions/53257273/… . with regard to this current topic, so I cant anyway inject image there, right?
            – T.Todua
            Nov 12 at 7:02








          • 1




            @T.Todua I'll look at it when I have time. No, there's no way to put an image in the Tab section of the Ribbon. Period.
            – Cindy Meister
            Nov 12 at 9:27
















          thanks! and what about that I can't change the label text or anything at all after ribbon-load ?
          – T.Todua
          Nov 12 at 6:36






          thanks! and what about that I can't change the label text or anything at all after ribbon-load ?
          – T.Todua
          Nov 12 at 6:36














          @T.Todua Please ask a new question for a new topic and include more detail, such as an example of what you mean, whether you're using the Ribbon Designer or Ribbon XML in the VSTO solution, etc.
          – Cindy Meister
          Nov 12 at 6:38




          @T.Todua Please ask a new question for a new topic and include more detail, such as an example of what you mean, whether you're using the Ribbon Designer or Ribbon XML in the VSTO solution, etc.
          – Cindy Meister
          Nov 12 at 6:38












          here - stackoverflow.com/questions/53257273/… . with regard to this current topic, so I cant anyway inject image there, right?
          – T.Todua
          Nov 12 at 7:02






          here - stackoverflow.com/questions/53257273/… . with regard to this current topic, so I cant anyway inject image there, right?
          – T.Todua
          Nov 12 at 7:02






          1




          1




          @T.Todua I'll look at it when I have time. No, there's no way to put an image in the Tab section of the Ribbon. Period.
          – Cindy Meister
          Nov 12 at 9:27




          @T.Todua I'll look at it when I have time. No, there's no way to put an image in the Tab section of the Ribbon. Period.
          – Cindy Meister
          Nov 12 at 9:27


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53253686%2fadd-image-in-ribbon-title-in-vsto%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Coverage of Google Street View

          Full-time equivalent

          Surfing