Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.dll

NuGet Package: DevExpress.Wpf.Ribbon

#Declaration

public BackstageItemPlacement Placement { get; set; }

#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>

BackstageItemBase - Placement property

Tip

You can use the BackstageItemWithImage.Glyph to specify a BackstageTabItem‘s or BackstageButtonItem‘s glyph.

See Also