)
We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to hide the Backstage Button in Ribbon?

Platform: WPF |
Control: Ribbon |
Published Date: January 6, 2015 |
Last Revised Date: January 6, 2015

To hide the backstage button in Ribbon control we need to change the BackStageButton visibility in code behind

XAML

 

C#

 

The above code example is used to set the BackStageButton visibility properties and the screenshot is as follows.

 

2X faster development

The ultimate WPF UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment
Comments
sabrina c.
Jan 08, 2016
Maybe it would be good to add this information to the general overview of how to use the ribbon, because I found the info using google because it was not available there and in an application usually there is just one window with backstage and all other windows can have the ribbon but usually not the backstage. thank you Reply
Not Known
Feb 09, 2016
Hi Sabrina , Thanks for your feedback. We will add this information in our Ribbon overview documentation. Regards, Mariappan S
Sudip
Jan 23, 2019
We can also use XAML to change the visibility/style of the BackStageButton 

     
                     
     
Reply
Sudip
Jan 23, 2019

               

Sudip
Jan 23, 2019
 '
               
            '
Kim Dieter
Nov 03, 2019

This does not work.

Can you provide a working sample?

Reply
Kim Dieter
Nov 03, 2019

This worked:

XAML

 
           
                
                
            

MainWindow.cs

        public MainWindow()
        {
            InitializeComponent();
            ribbon.BackStage.Loaded += BackStage_Loaded;

        }

        private void BackStage_Loaded(object sender, RoutedEventArgs e)
        {
            if (ribbon != null && ribbon.BackStageButton != null)
            {
                ribbon.BackStageButton.Visibility = Visibility.Collapsed;
            }
        }
Reply
Kim Dieter
Nov 03, 2019

XAML:

       

            
                
                
            
Kim Dieter
Nov 03, 2019
   

        
            
            
        
Joakim
Jul 30, 2020

And how to do that with RibbonControlAdv? There is no property called BackStageButton.

Reply
Vijayalakshmi Roopkumar [Syncfusion]
Jul 31, 2020

Hi Joakim

Thank you for using our Syncfusion products.

From your query, we have understood that you are asking about Windows Forms RibbonControlAdv. If your requirement is to hide the BackstageButton of Windows Forms RibbonControl, you need to disable the MenuButton property.You can refer it more in details in the following documentation link:

UG: https://help.syncfusion.com/windowsforms/ribbon/backstage#restrict-backstage-opening

Regards, Vijayalakshmi VR

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon