Category / Section
How to change the header of the backstage in the WPF Ribbon control?
1 min read
You can change the header of the BackStage by using the BackStageHeader property of the WPF Ribbon control. The default value of the BackStageHeader is File, and it can be changed by using the following code example.
XAML
<Syncfusion:Ribbon Name="ribbon" VerticalAlignment="Top" BackStageHeader="New" > <Syncfusion:RibbonTab Caption="Folder" IsChecked="True" > <Syncfusion:RibbonBar Header="Clean Up"> <Syncfusion:RibbonComboBox> <Syncfusion:RibbonComboBoxItem Content="Cleanup Folder"/> <Syncfusion:RibbonComboBoxItem Content="Cleanup Folder and Sub Folders"/> </Syncfusion:RibbonComboBox> <Syncfusion:RibbonButton SizeForm="Small" SmallIcon="/Resources/Delete-All.png" Label="Delete All"/> <Syncfusion:RibbonButton SizeForm="Small" SmallIcon="/Resources/Recover-Deleted Items.png" Label="Recover Deleted Items"/> </Syncfusion:RibbonBar> <Syncfusion:RibbonBar Header="Properties"> <Syncfusion:RibbonButton SizeForm="Small" SmallIcon="/Resources/Show-in-Favorites.png" Label="Show in Favourites"/> <Syncfusion:RibbonButton SizeForm="Small" SmallIcon="/Resources/Properties.png" Label="Folder Properties"/> <Syncfusion:RibbonButton SizeForm="Small" SmallIcon="/Resources/Archive.png" Label="Auto Archieve Settings"/> </Syncfusion:RibbonBar> </Syncfusion:RibbonTab> <Syncfusion:RibbonTab Caption="Send/Receive" /> </Syncfusion:Ribbon>
C#
ribbon.BackStageHeader = "New";
The output of the code is illustrated in the following screenshot: