Category / Section
How to hide the backstage button in WPF Ribbon control?
2 mins read
You can hide the backstage button in WPF Ribbon control by setting the BackStageButton visibility to Collapsed in code behind.
XAML
<syncfusion:Ribbon x:Name="ribbon" > <syncfusion:RibbonTab Caption="Tab1" > <syncfusion:RibbonBar> <syncfusion:SplitButton SizeForm="Large"/> <syncfusion:SplitButton SizeForm="Small"/> </syncfusion:RibbonBar> </syncfusion:RibbonTab> </syncfusion:Ribbon>
C#
ribbon.BackStageButton.Visibility=Visibility.Collapsed;
The above code example is used to set the BackStageButton visibility properties and the screenshot is as follows.