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

BackstageViewTabItem Class

Acts as a tab page within a BackstageViewControl.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class BackstageViewTabItem :
    BackstageViewItem

The following members return BackstageViewTabItem objects:

#Remarks

BackstageViewTabItem objects act as tab pages within a BackstageViewControl. When you select a BackstageViewTabItem within a BackstageViewControl, its contents are displayed in the BackstageViewControl‘s right area.

To specify contents for BackstageViewTabItem objects, add custom controls to the container referred to by the BackstageViewTabItem.ContentControl property. This property is set to a BackstageViewTabItem object.

The following code creates a BackstageViewTabItem and adds a SimpleButton control to the item.

using DevExpress.XtraBars.Ribbon;

BackstageViewTabItem tabItem = new BackstageViewTabItem();
tabItem.Caption = "Export";
SimpleButton btn = new SimpleButton();
btn.Text = "Export";
btn.Location = new Point(10, 10);
tabItem.ContentControl.Controls.Add(btn);
backstageViewControl1.Items.Add(tabItem);
See Also