Share via


RibbonMenuItem Class

Definition

public ref class RibbonMenuItem : System::Windows::Controls::MenuItem
[System.Windows.StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=typeof(Microsoft.Windows.Controls.Ribbon.RibbonMenuItem))]
[System.Windows.TemplatePart(Name="PART_Popup", Type=typeof(System.Windows.Controls.Primitives.Popup))]
[System.Windows.TemplatePart(Name="PART_SideBarBorder", Type=typeof(System.Windows.Controls.Border))]
[System.Windows.TemplatePart(Name="PART_SubMenuScrollViewer", Type=typeof(System.Windows.Controls.ScrollViewer))]
[System.Windows.TemplatePart(Name="PART_ResizeThumb", Type=typeof(System.Windows.Controls.Primitives.Thumb))]
public class RibbonMenuItem : System.Windows.Controls.MenuItem
[<System.Windows.StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=typeof(Microsoft.Windows.Controls.Ribbon.RibbonMenuItem))>]
[<System.Windows.TemplatePart(Name="PART_Popup", Type=typeof(System.Windows.Controls.Primitives.Popup))>]
[<System.Windows.TemplatePart(Name="PART_SideBarBorder", Type=typeof(System.Windows.Controls.Border))>]
[<System.Windows.TemplatePart(Name="PART_SubMenuScrollViewer", Type=typeof(System.Windows.Controls.ScrollViewer))>]
[<System.Windows.TemplatePart(Name="PART_ResizeThumb", Type=typeof(System.Windows.Controls.Primitives.Thumb))>]
type RibbonMenuItem = class
    inherit MenuItem
Public Class RibbonMenuItem
Inherits MenuItem
Inheritance
RibbonMenuItem
Derived
Attributes

Constructors

RibbonMenuItem()

Fields

CanAddToQuickAccessToolBarDirectlyProperty
CanUserResizeHorizontallyProperty
CanUserResizeVerticallyProperty
CheckedBackgroundProperty
CheckedBorderBrushProperty
DropDownHeightProperty
HasGalleryProperty
ImageSourceProperty
IsDropDownPositionedLeftProperty
ItemContainerTemplateSelectorProperty
KeyTipProperty
MouseOverBackgroundProperty
MouseOverBorderBrushProperty
PressedBackgroundProperty
PressedBorderBrushProperty
QuickAccessToolBarIdProperty
QuickAccessToolBarImageSourceProperty
RibbonProperty
ToolTipDescriptionProperty
ToolTipFooterDescriptionProperty
ToolTipFooterImageSourceProperty
ToolTipFooterTitleProperty
ToolTipImageSourceProperty
ToolTipTitleProperty
UsesItemContainerTemplateProperty

Properties

CanAddToQuickAccessToolBarDirectly
CanUserResizeHorizontally
CanUserResizeVertically
CheckedBackground
CheckedBorderBrush
DropDownHeight
HasGallery
ImageSource
IsDropDownPositionedLeft
ItemContainerTemplateSelector
KeyTip
MouseOverBackground
MouseOverBorderBrush
PressedBackground
PressedBorderBrush
QuickAccessToolBarId
QuickAccessToolBarImageSource
Ribbon
ToolTipDescription
ToolTipFooterDescription
ToolTipFooterImageSource
ToolTipFooterTitle
ToolTipImageSource
ToolTipTitle
UsesItemContainerTemplate

Methods

ClearContainerForItemOverride(DependencyObject, Object)
GetContainerForItemOverride()
IsItemItsOwnContainerOverride(Object)
OnActivatingKeyTip(ActivatingKeyTipEventArgs)
OnApplyTemplate()
OnClick()
OnCreateAutomationPeer()
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
OnKeyDown(KeyEventArgs)
OnKeyTipAccessed(KeyTipAccessedEventArgs)
OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)
OnMouseEnter(MouseEventArgs)
OnMouseLeave(MouseEventArgs)
OnMouseLeftButtonDown(MouseButtonEventArgs)
OnMouseLeftButtonUp(MouseButtonEventArgs)
OnPreviewKeyUp(KeyEventArgs)
PrepareContainerForItemOverride(DependencyObject, Object)
ShouldApplyItemContainerStyle(DependencyObject, Object)

Applies to