Skip to main content
A newer version of this page is available. .

BackstageViewTabItem Class

Acts as a tab page within a BackstageViewControl.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v18.1.dll

Declaration

[SmartTagSupport(typeof(BackstageViewTabItemDesignTimeBoundsProvider), SmartTagSupportAttribute.SmartTagCreationMode.Auto)]
[SmartTagAction(typeof(BackstageViewTabItemDesignTimeActionsProvider), "AddRecentItemControl", "Add RecentItemControl", SmartTagActionType.CloseAfterExecute)]
[SmartTagAction(typeof(BackstageViewTabItemDesignTimeActionsProvider), "AddChildBackstageView", "Add Child BackstageView", SmartTagActionType.CloseAfterExecute)]
public class BackstageViewTabItem :
    BackstageViewItem

The following members accept/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);

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BackstageViewTabItem class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also