BackstageButtonItem Class
A button item within a BackstageView.
Namespace: DevExpress.UI.Xaml.Ribbon
Assembly: DevExpress.UI.Xaml.Ribbon.v18.2.dll
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>
Inheritance
Object
Windows.UI.Xaml.DependencyObject
Windows.UI.Xaml.UIElement
Windows.UI.Xaml.FrameworkElement
Windows.UI.Xaml.Controls.Control
Windows.UI.Xaml.Controls.ContentControl
DevExpress.UI.Xaml.Internal.ContentControlEx
DevExpress.UI.Xaml.Internal.PointerItemBase
DevExpress.UI.Xaml.Internal.GlyphItemBase
DevExpress.UI.Xaml.Ribbon.Internal.RibbonItemBase
DevExpress.UI.Xaml.Ribbon.Internal.RibbonButtonItemBase
BackstageButtonItem
See Also