Skip to main content

BackstageSeparatorItem Class

Visually separates backstage items.

Namespace: DevExpress.UI.Xaml.Ribbon

Assembly: DevExpress.UI.Xaml.Ribbon.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public class BackstageSeparatorItem :
    Control,
    IBackstageItem,
    IVisualItem,
    ISelectable

Remarks

The BackstageSeparatorItem displays a line that visually separates neighboring backstage items. To place a BackstageSeparatorItem inside a BackstageView, add a new instance of the BackstageSeparatorItem to the BackstageView‘s Items collection. To do this via XAML, place a BackstageSeparatorItem class object between the opening and the closing tags of the BackstageView. See the example below to learn more.

<Ribbon:RibbonControl.BackstageView>
    <Ribbon:BackstageView>
        <Ribbon:BackstageButtonItem Content="Open" Command="{x:Bind ViewModel.OpenCommand}" />
        <Ribbon:BackstageSeparatorItem />
        <Ribbon:BackstageButtonItem Content="Save" Command="{x:Bind ViewModel.SaveFileCommand}" />
        <Ribbon:BackstageButtonItem Content="Save as..." Command="{x:Bind ViewModel.SaveFileAsCommand}" />
    </Ribbon:BackstageView>
</Ribbon:RibbonControl.BackstageView>

BackstageView_Separator

Inheritance

Object
DependencyObject
Windows.UI.Xaml.UIElement
FrameworkElement
Control
BackstageSeparatorItem
See Also