DotNetBar for Windows Forms 8.8 and later includes support for creating Office 2010 style Backstage application menu. Following image shows what Backstage application menu looks like:

Add RibbonControl to your form from VS.NET toolbox:

Select StyleManager component that was created when you added Ribbon and change its ManagerStyle property to Office2010Blue. At this point also change the inheritance of from from Form to Office2007RibbonForm.

Now right-click on File Ribbon button to show context menu with commands:

In context menu displayed choose Set Backstage command:

And DotNetBar will create default Backstage implementation that you can then tweak and change to fit your app:

This is basic Backstage control setup with default values. On selected Backstage tab panel, you can see the Blue background that is located in bottom-right corner. We provide 3 additional background images you can use. You can find them in:
C:\Program Files\DotNetBar for Windows Forms\Images or in C:\Program Files (x86)\DotNetBar for Windows Forms\Images on x64 versions of Windows assuming default installation folders. Images are named: BlueBackstageBgImage.png, GreenBackstage.png, MagentaBackstage.png and OrangeBackstage.png

To change background image on backstage tab panel, select the panel (SuperTabControl panel type) and change its BackgroundImage property as shown in image below:

Backstage view is customized SuperTabControl that is part of DotNetBar. In code the SuperTabControl instance is assigned to application menu using following line of code:
office2007StartButton1.BackstageTab = this.superTabControl1;

When BackstageTab property is set any items in SubItems collection you already have in application menu will not be displayed on popup. You may keep them in case you want to have both application menu and Backstage. When BackstageTab property is set you can use BackstageTabEnabled property to disable usage of Backstage so control displays standard popup menu from SubItems collection.

Part of the Backstage functionality are buttons that are displayed on the tabs. You can use ButtonX control with ColorTable=Office2007WithBackground and text-markup to get buttons that looks like this:

Button control in image above has following settings:

ColorTable = Office2007WithBackground
ImagePosition = Top
Text = <span align=”center”>Protect Document <expand/></span>

While you have Office2007StartButton.BackstageTab property set in VS.NET designer you have following commands available that you can access either through context-menu for application button or in Properties window:


Remove Backstage command will simply remove Backstage tab from application menu.
Clear Sub-items command will remove all SubItems you might have previously defined on application menu. You can use this command if you do not plan on providing dual menus, both Backstage and standard popup items. This will simply destroy the popup items and keep backstage.

If you need to close application menu from code simply set:
office2007StartButton1.Expanded = false

Related posts:

  1. How To Use StyleManager in DotNetBar for Windows Forms
  2. Commands in DotNetBar for Windows Forms
  3. How To Use StyleManager in DotNetBar for Windows Forms
  4. Deploying, Distributing DotNetBar for Windows Forms
  5. Tutorial: Create Office 2014 Mobile Style Applications For WinForms