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






Represents a menu item control which is used in the UXRibbonBar control.

Object Model

UXRibbonMenuItem Class

Syntax

Visual Basic (Declaration) 
<TemplateVisualStateAttribute(Name="Checked", GroupName="CheckedStates")>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonMenuItem)>
<TemplateVisualStateAttribute(GroupName="CheckedStates", Name="Unchecked")>
<TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")>
<TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="DisabledMouseOver")>
<DescriptionAttribute("Represents a menu item control which is used in the UXRibbonBar control.")>
<TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)>
<TemplatePartAttribute(Name="MenuElement", Type=Intersoft.Client.UI.Aqua.UXMenu)>
<TemplatePartAttribute(Name="PointerElement", Type=System.Windows.Shapes.Path)>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")>
<TemplatePartAttribute(Name="TextCommandElement", Type=System.Windows.Controls.TextBlock)>
<TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="IndicatorImageElement", Type=System.Windows.Controls.Image)>
<TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)>
<TemplatePartAttribute(Name="IndicatorElement", Type=System.Windows.Controls.Border)>
Public Class UXRibbonMenuItem 
   Inherits Intersoft.Client.UI.Aqua.UXMenuItem
   Implements IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionISelectionItemIRibbonKeyTipAction 
Visual Basic (Usage)Copy Code
Dim instance As UXRibbonMenuItem
C# 
[TemplateVisualStateAttribute(Name="Checked", GroupName="CheckedStates")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonMenuItem)]
[TemplateVisualStateAttribute(GroupName="CheckedStates", Name="Unchecked")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="DisabledMouseOver")]
[DescriptionAttribute("Represents a menu item control which is used in the UXRibbonBar control.")]
[TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)]
[TemplatePartAttribute(Name="MenuElement", Type=Intersoft.Client.UI.Aqua.UXMenu)]
[TemplatePartAttribute(Name="PointerElement", Type=System.Windows.Shapes.Path)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplatePartAttribute(Name="TextCommandElement", Type=System.Windows.Controls.TextBlock)]
[TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="IndicatorImageElement", Type=System.Windows.Controls.Image)]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="IndicatorElement", Type=System.Windows.Controls.Border)]
public class UXRibbonMenuItem : Intersoft.Client.UI.Aqua.UXMenuItem, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionISelectionItemIRibbonKeyTipAction  
JScript 
TemplateVisualStateAttribute(Name="Checked", GroupName="CheckedStates")
StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonMenuItem)
TemplateVisualStateAttribute(GroupName="CheckedStates", Name="Unchecked")
TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")
TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="DisabledMouseOver")
DescriptionAttribute("Represents a menu item control which is used in the UXRibbonBar control.")
TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)
TemplatePartAttribute(Name="MenuElement", Type=Intersoft.Client.UI.Aqua.UXMenu)
TemplatePartAttribute(Name="PointerElement", Type=System.Windows.Shapes.Path)
TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")
TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")
TemplatePartAttribute(Name="TextCommandElement", Type=System.Windows.Controls.TextBlock)
TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.Grid)
TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
TemplatePartAttribute(Name="IndicatorImageElement", Type=System.Windows.Controls.Image)
TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)
TemplatePartAttribute(Name="IndicatorElement", Type=System.Windows.Controls.Border)
public class UXRibbonMenuItem extends Intersoft.Client.UI.Aqua.UXMenuItem implements IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionISelectionItemIRibbonKeyTipAction 
Managed Extensions for C++ 
[TemplateVisualStateAttribute(Name="Checked", GroupName="CheckedStates")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonMenuItem)]
[TemplateVisualStateAttribute(GroupName="CheckedStates", Name="Unchecked")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="DisabledMouseOver")]
[DescriptionAttribute("Represents a menu item control which is used in the UXRibbonBar control.")]
[TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)]
[TemplatePartAttribute(Name="MenuElement", Type=Intersoft.Client.UI.Aqua.UXMenu)]
[TemplatePartAttribute(Name="PointerElement", Type=System.Windows.Shapes.Path)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplatePartAttribute(Name="TextCommandElement", Type=System.Windows.Controls.TextBlock)]
[TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="IndicatorImageElement", Type=System.Windows.Controls.Image)]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="IndicatorElement", Type=System.Windows.Controls.Border)]
public __gc class UXRibbonMenuItem : public Intersoft.Client.UI.Aqua.UXMenuItem, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionISelectionItemIRibbonKeyTipAction  
C++/CLI 
[TemplateVisualStateAttribute(Name="Checked", GroupName="CheckedStates")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonMenuItem)]
[TemplateVisualStateAttribute(GroupName="CheckedStates", Name="Unchecked")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Unselected")]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="DisabledMouseOver")]
[DescriptionAttribute("Represents a menu item control which is used in the UXRibbonBar control.")]
[TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)]
[TemplatePartAttribute(Name="MenuElement", Type=Intersoft.Client.UI.Aqua.UXMenu)]
[TemplatePartAttribute(Name="PointerElement", Type=System.Windows.Shapes.Path)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[TemplatePartAttribute(Name="TextCommandElement", Type=System.Windows.Controls.TextBlock)]
[TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="IndicatorImageElement", Type=System.Windows.Controls.Image)]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="IndicatorElement", Type=System.Windows.Controls.Border)]
public ref class UXRibbonMenuItem : public Intersoft.Client.UI.Aqua.UXMenuItem, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceISelectionISelectionItemIRibbonKeyTipAction  

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                  Intersoft.Client.Framework.HeaderedItemsControl
                     Intersoft.Client.Framework.ISHeaderedItemsControl
                        Intersoft.Client.Framework.ISHeaderedSelectionControl
                           Intersoft.Client.UI.Aqua.UXMenuItem
                              Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonMenuItem
                                 Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonApplicationMenuItem

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.