BackstageTabItem Image

I need to open a view to the right of the backstage by clicking on a BackstageCommandButtom or a TabItem, the behavior I would get by changing the content of a BackstageTabItem but I can't use TabItem because I need it to have an image associated with the item. How can I do this?


1 Reply

GT Gokul Thanudhas Syncfusion Team February 17, 2023 03:38 PM UTC

We suggest you use the Header property of BackStageTabItem for applying the image in the BackStageTabItem. Please refer to the attached sample for your reference.


Code Snippets:


<syncfusion:BackstageTabItem.Header>
         <StackPanel Orientation="Horizontal">
                   <Image Source="Image\image.png" Width="30" Height="30"/>
                   <TextBlock Text="Open" HorizontalAlignment="Center" VerticalAlignment="Center"/>
          </StackPanel>
</syncfusion:BackstageTabItem.Header>




Attachment: RibbonBackStageTabItemImage_2b5ac385.zip

Loader.
Up arrow icon