BackstageButtonItem Class
A button item within a BackstageView.
Namespace: DevExpress.UI.Xaml.Ribbon
Assembly: DevExpress.UI.Xaml.Ribbon.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
[Bindable]
public class BackstageButtonItem :
RibbonButtonItemBase,
IBackstageItem,
IVisualItem,
ISelectable,
ISupportOwner<BackstageView>
Remarks
The BackstageButtonItem represents a regular button. Use the Content property to place text or any object that will be displayed inside a button. The Icon property allows you to set an icon to be shown within the button.
Use the Command property to bind an action to your button. Alternatively, handle the Click or Tapped event.
If you want to place a button within a BackstageView, add a BackstageButtonItem class instance to the view’s Items collection. To add a button in XAML, define a BackstageButtonItem object between the BackstageView opening and closing tags. See the example below.
<Ribbon:RibbonControl.BackstageView>
<Ribbon:BackstageView>
<Ribbon:BackstageButtonItem Content="Save" Command="{x:Bind ViewModel.SaveFileCommand}" />
</Ribbon:BackstageView>
</Ribbon:RibbonControl.BackstageView>