All docs
V21.2
21.2
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

BackstageItemWithImage Class

A base class for items with glyphs.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v21.2.dll

Declaration

public class BackstageItemWithImage :
    BackstageItem

Remarks

The following code sample adds glyphs to the Home and File BackstageTabItems:

<dx:ThemedWindow
  ... 
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
  xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon">
  <dxr:RibbonControl>
    <dxr:RibbonControl.ApplicationMenu>
      <dxr:BackstageViewControl>
        <dxr:BackstageTabItem Content="Home" Glyph="{dx:SvgImageSource Uri='pack://application:,,,/RibbonDemo;component/Images/Icons/Home_16x16.svg'}">
          <dxr:BackstageTabItem.ControlPane>
            <!-- Tab Content -->
          </dxr:BackstageTabItem.ControlPane>
        </dxr:BackstageTabItem>
        <dxr:BackstageTabItem Content="New" Glyph="{dx:SvgImageSource Uri='pack://application:,,,/RibbonDemo;component/Images/Icons/New_16x16.svg'}">
          <dxr:BackstageTabItem.ControlPane>
            <!-- Tab Content -->
          </dxr:BackstageTabItem.ControlPane>
        </dxr:BackstageTabItem>
      </dxr:BackstageViewControl>
    </dxr:RibbonControl.ApplicationMenu>
    <!-- Ribbon Content -->
  </dxr:RibbonControl>
</dx:ThemedWindow>

BackstageItemBase - Placement property

Customize Glyphs

Use the GlyphContainerStyle and GlyphStyle properties to change the glyph’s appearance.

See Also