Back to Devexpress

BackstageViewClientControl Class

windowsforms-devexpress-dot-xtrabars-dot-ribbon-10943695.md

latest3.6 KB
Original Source

BackstageViewClientControl Class

A container that displays the contents of a BackstageViewTabItem within a BackstageViewControl.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class BackstageViewClientControl :
    XtraUserControl,
    ITransparentBackgroundManager
vb
Public Class BackstageViewClientControl
    Inherits XtraUserControl
    Implements ITransparentBackgroundManager

The following members return BackstageViewClientControl 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 BackstageViewClientControl object.

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

csharp
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);

Implements

IXtraResizableControl

Inheritance

Object MarshalByRefObject Component Control ScrollableControl ContainerControl UserControl XtraUserControl BackstageViewClientControl

See Also

BackstageViewClientControl Members

DevExpress.XtraBars.Ribbon Namespace