Hide/Collapse the File Tab

Since I started using a Syncfusion theme in my WPF RibbonWindow application, a FILE tab has been added to my ribbon tabs (Default theme doesn't show the tab). I don't have any current need for the backstage functionality (I may at a later date) so I'd like to collapse or hide the FILE tab. How do I do this?


1 Reply 1 reply marked as answer

VR Vijayalakshmi Roopkumar Syncfusion Team May 24, 2021 10:24 AM UTC

Hi Zeljko , 
  
Thank you for contacting Syncfusion Suppor. 
  
Query: I don't have any current need for the backstage functionality (I may at a later date) so I'd like to collapse or hide the FILE tab. How do I do this? 
  
Yes, you can able to hide the visibility of BackStageButton using BackStageButton visibility's property. For this you can handle this in windows loaded event, as shown in following code : 
 
  
Code:[C#]  
  
 
private void RibbonWindow_Loaded(object sender, RoutedEventArgs e)   
{ 
        //Hide BackstageButton  
        _ribbon.BackStageButton.Visibility = Visibility.Collapsed; 
 
 } 
 
 
 
 
  
  
 
Please try this suggestion and let us know if it is helpful.  
  
Regards,  
Vijayalakshmi VR 


Marked as answer
Loader.
Up arrow icon