Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1405
How to add an image to the header of an RibbonTabItem
posted

Is it possible to add an image into the header of an RibbonTabItem? I tried this but in my case it does not work.

Is it possible to change the font size of the header of an RibbonTabItem?

Thanks for help.

Nico 

Parents
  • 54937
    Offline posted

    The tabs of Office 2007 do not show images. In order to show an image, you would need to retemplate the RibbonTabItem. With regards to changing the font size, you can set the FontSize property of the RibbonTabItem or provide a style in the resources that sets this property. The latter option might be a problem if you are allowing the Theme property to be changed (since that would put a Style for TabItem into the resources). If you end up retemplating the RibbonTabItem then you can set the FontSize in your template.

Reply Children