Intersoft ClientUI Documentation
UXRibbonApplicationBackstageMenuItem Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXRibbon Namespace : UXRibbonApplicationBackstageMenuItem Class






Represents an application backstage menu item.

Object Model

UXRibbonApplicationBackstageMenuItem Class

Syntax

Visual Basic (Declaration) 
<TemplatePartAttribute(Name="KeyboardFocusElement", Type=System.Windows.Shapes.Rectangle)>
<DescriptionAttribute("Represents an application backstage menu item.")>
<StyleTypedPropertyAttribute(Property="Style", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonApplicationBackstageMenuItem)>
<StyleTypedPropertyAttribute(Property="ToggleButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXToggleButton)>
<TemplatePartAttribute(Name="ItemContentPresenter", Type=System.Windows.Controls.ContentPresenter)>
<TemplatePartAttribute(Name="HostItemContent", Type=System.Windows.Controls.ContentControl)>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Aqua.UXToggleButton)>
<TemplateVisualStateAttribute(Name="KeyboardFocused", GroupName="KeyboardFocusStates")>
<TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")>
Public Class UXRibbonApplicationBackstageMenuItem 
   Inherits Intersoft.Client.Framework.ISHeaderedContentControl
   Implements IControlIFramework, ILicensing, ICommandSourceIRibbonKeyTipAction 
Visual Basic (Usage)Copy Code
Dim instance As UXRibbonApplicationBackstageMenuItem
C# 
[TemplatePartAttribute(Name="KeyboardFocusElement", Type=System.Windows.Shapes.Rectangle)]
[DescriptionAttribute("Represents an application backstage menu item.")]
[StyleTypedPropertyAttribute(Property="Style", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonApplicationBackstageMenuItem)]
[StyleTypedPropertyAttribute(Property="ToggleButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXToggleButton)]
[TemplatePartAttribute(Name="ItemContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="HostItemContent", Type=System.Windows.Controls.ContentControl)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Aqua.UXToggleButton)]
[TemplateVisualStateAttribute(Name="KeyboardFocused", GroupName="KeyboardFocusStates")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")]
public class UXRibbonApplicationBackstageMenuItem : Intersoft.Client.Framework.ISHeaderedContentControl, IControlIFramework, ILicensing, ICommandSourceIRibbonKeyTipAction  
Delphi 
public class UXRibbonApplicationBackstageMenuItem = class(Intersoft.Client.Framework.ISHeaderedContentControl, IControl, IFramework, ILicensing, ICommandSource, IRibbonKeyTipAction)
JScript 
TemplatePartAttribute(Name="KeyboardFocusElement", Type=System.Windows.Shapes.Rectangle)
DescriptionAttribute("Represents an application backstage menu item.")
StyleTypedPropertyAttribute(Property="Style", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonApplicationBackstageMenuItem)
StyleTypedPropertyAttribute(Property="ToggleButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXToggleButton)
TemplatePartAttribute(Name="ItemContentPresenter", Type=System.Windows.Controls.ContentPresenter)
TemplatePartAttribute(Name="HostItemContent", Type=System.Windows.Controls.ContentControl)
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Aqua.UXToggleButton)
TemplateVisualStateAttribute(Name="KeyboardFocused", GroupName="KeyboardFocusStates")
TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")
public class UXRibbonApplicationBackstageMenuItem extends Intersoft.Client.Framework.ISHeaderedContentControl implements IControlIFramework, ILicensing, ICommandSourceIRibbonKeyTipAction 
Managed Extensions for C++ 
[TemplatePartAttribute(Name="KeyboardFocusElement", Type=System.Windows.Shapes.Rectangle)]
[DescriptionAttribute("Represents an application backstage menu item.")]
[StyleTypedPropertyAttribute(Property="Style", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonApplicationBackstageMenuItem)]
[StyleTypedPropertyAttribute(Property="ToggleButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXToggleButton)]
[TemplatePartAttribute(Name="ItemContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="HostItemContent", Type=System.Windows.Controls.ContentControl)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Aqua.UXToggleButton)]
[TemplateVisualStateAttribute(Name="KeyboardFocused", GroupName="KeyboardFocusStates")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")]
public __gc class UXRibbonApplicationBackstageMenuItem : public Intersoft.Client.Framework.ISHeaderedContentControl, IControlIFramework, ILicensing, ICommandSourceIRibbonKeyTipAction  
C++/CLI 
[TemplatePartAttribute(Name="KeyboardFocusElement", Type=System.Windows.Shapes.Rectangle)]
[DescriptionAttribute("Represents an application backstage menu item.")]
[StyleTypedPropertyAttribute(Property="Style", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonApplicationBackstageMenuItem)]
[StyleTypedPropertyAttribute(Property="ToggleButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXToggleButton)]
[TemplatePartAttribute(Name="ItemContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="HostItemContent", Type=System.Windows.Controls.ContentControl)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Aqua.UXToggleButton)]
[TemplateVisualStateAttribute(Name="KeyboardFocused", GroupName="KeyboardFocusStates")]
[TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")]
public ref class UXRibbonApplicationBackstageMenuItem : public Intersoft.Client.Framework.ISHeaderedContentControl, IControlIFramework, ILicensing, ICommandSourceIRibbonKeyTipAction  

Remarks

Application menu is a control that can be accessed from the top left corner of the ribbon. There are two types of item that you can define in UXRibbonApplicationMenu which are UXRibbonApplicationMenuItem and UXRibbonApplicationBackstageMenuItem.

UXRibbonApplicationMenuItem is a command control which behaves similar to UXMenuItem. To learn more about UXMenuItem, see UXDropDownButton Overview. On the other hands, UXRibbonApplicationBackstageMenuItem is a more sophisticated control that displays custom content when the menu item is active.

The following code shows how to define three UXRibbonApplicationMenuItem and one UXRibbonApplicationBackstageMenuItem. Notice that the "Exit" menu item has a command assigned.

XAML Copy Code
<Intersoft:UXRibbonBar>
    <Intersoft:UXRibbonBar.ApplicationMenu>        
        <Intersoft:UXRibbonApplicationMenu Content="File">
            <Intersoft:UXRibbonApplicationMenuItem Header="Save" />
            <Intersoft:UXRibbonApplicationMenuItem Header="Save As" />
            <Intersoft:UXRibbonApplicationBackstageMenuItem Header="Info">
                <UserControl:MenuInfo />
            </Intersoft:UXRibbonApplicationBackstageMenuItem>
            <Intersoft:UXRibbonApplicationMenuItem Header="Exit" Command="Intersoft:WindowCommands.Close" />
        </Intersoft:UXRibbonApplicationMenu>
    </Intersoft:UXRibbonBar.ApplicationMenu>
</Intersoft:UXRibbonBar>

The following figure shows the application menu when a backstage menu item is active.

To learn more about UXRibbonApplicationMenu, see Working with Ribbon Application Menu.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  Intersoft.Client.Framework.ISContentControl
                     Intersoft.Client.Framework.ISHeaderedContentControl
                        Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonApplicationBackstageMenuItem

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.