How to set an image on Ribbon bar.

Ribbon for WPF Forum

Posted 6 years ago by sravanthi
Version: 13.1.0582

Hi i have a logo for my app. I would like that logo/Image to display on rightside of Ribbon Tab.(ie: when clicked on tabs that image should be on to the right).Tried different ways ...No use. Any Suggestion ?

 Also for testing purpose i used Background property for ribbon:Tab and also ribbon:Grop but my changes are not reflecting..(ie: Eventhough i set the color of the background, it is not showing..).

Comments (3)

Answer - Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA


Do you mean that you want to add something in the Ribbon.TabPanelItems collection, like we have our Help button on the right side of the tab area in the demo?

Sorry but Ribbon is designed to render similar to Office and support contextual tab group backgrounds etc.  I believe the Tab.Background is ignored in our default templates.  The only way to change that would be to alter our default templates, but I'm not sure that changing the tab background would look very good, so I'd lean against that.

Actipro Software Support

Posted 6 years ago by sravanthi


      When tabs are selected we can see the buttons in the ribbon group below, My application logo needs to be placed on to the right corner of that Bar where we can loads our Groups and Buttons. So when every tab gets selected that image should be visible to the right corner.

Tried placing Stackpanel under ribbon:Tabs.... but stackpanel option is not available.


<StackPanel orientation:Horizontal>





Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA

Oh sorry but putting content on the right side of the tab's content area isn't available since the entire tab area is used for ribbon:Group display and handling their variants.  You might be able to do it if you retemplate Ribbon.  But I would rather suggest you put it in the TabPanelItems instead, which renders on the far right side of the tabs themselves.

Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 21 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.