BackstageItemBase.Placement Property
Gets or sets the backstage item’s postition. This is a dependency property.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.1.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Property Value
Type | Description |
---|---|
BackstageItemPlacement | The BackstageItemPlacement value that specifies the backstage item’s postition. |
Available values:
Name | Description |
---|---|
Top | The backstage item is displayed at the top. |
Bottom | The backstage item is displayed at the bottom. |
Remarks
The following code sample displays the Close, Options, and About BackstageButtonItems at the bottom of the BackStageView:
<dx:ThemedWindow
...
xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon">
<!-- ... -->
<dxr:RibbonControl>
<dxr:RibbonControl.ApplicationMenu>
<dxr:BackstageViewControl>
<dxr:BackstageViewControl.Items>
<!-- ... -->
<dxr:BackstageSeparatorItem/>
<dxr:BackstageButtonItem Content="Close" Placement="Top"/>
<dxr:BackstageSeparatorItem/>
<dxr:BackstageButtonItem Content="Close" Placement="Bottom"/>
<dxr:BackstageButtonItem Content="Options" Placement="Bottom"/>
<dxr:BackstageButtonItem Content="About" Placement="Bottom"//>
</dxr:BackstageViewControl.Items>
</dxr:BackstageViewControl>
</dxr:RibbonControl.ApplicationMenu>
</dxr:RibbonControl>
</dx:ThemedWindow>
Tip
You can use the BackstageItemWithImage.Glyph to specify a BackstageTabItem‘s or BackstageButtonItem‘s glyph.
See Also