Share via


RibbonMenuButton Class

Definition

public ref class RibbonMenuButton : System::Windows::Controls::Menu
[System.Windows.StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=typeof(Microsoft.Windows.Controls.Ribbon.RibbonMenuItem))]
[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))]
[System.Windows.TemplatePart(Name="PART_ToggleButton", Type=typeof(Microsoft.Windows.Controls.Ribbon.RibbonToggleButton))]
[System.Windows.TemplatePart(Name="PART_Popup", Type=typeof(System.Windows.Controls.Primitives.Popup))]
public class RibbonMenuButton : System.Windows.Controls.Menu
[<System.Windows.StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=typeof(Microsoft.Windows.Controls.Ribbon.RibbonMenuItem))>]
[<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))>]
[<System.Windows.TemplatePart(Name="PART_ToggleButton", Type=typeof(Microsoft.Windows.Controls.Ribbon.RibbonToggleButton))>]
[<System.Windows.TemplatePart(Name="PART_Popup", Type=typeof(System.Windows.Controls.Primitives.Popup))>]
type RibbonMenuButton = class
    inherit Menu
Public Class RibbonMenuButton
Inherits Menu
Inheritance
RibbonMenuButton
Derived
Attributes

Constructors

RibbonMenuButton()

Fields

CanAddToQuickAccessToolBarDirectlyProperty
CanUserResizeHorizontallyProperty
CanUserResizeVerticallyProperty
ControlSizeDefinitionProperty
DropDownHeightProperty
FocusedBackgroundProperty
FocusedBorderBrushProperty
HasGalleryProperty
IsDropDownOpenProperty
IsDropDownPositionedAboveProperty
IsInControlGroupProperty
IsInQuickAccessToolBarProperty
ItemContainerTemplateSelectorProperty
KeyTipProperty
LabelProperty
LargeImageSourceProperty
MouseOverBackgroundProperty
MouseOverBorderBrushProperty
PressedBackgroundProperty
PressedBorderBrushProperty
QuickAccessToolBarControlSizeDefinitionProperty
QuickAccessToolBarIdProperty
RibbonProperty
SmallImageSourceProperty
ToolTipDescriptionProperty
ToolTipFooterDescriptionProperty
ToolTipFooterImageSourceProperty
ToolTipFooterTitleProperty
ToolTipImageSourceProperty
ToolTipTitleProperty
UsesItemContainerTemplateProperty

Properties

CanAddToQuickAccessToolBarDirectly
CanUserResizeHorizontally
CanUserResizeVertically
ControlSizeDefinition
DropDownHeight
FocusedBackground
FocusedBorderBrush
HandlesScrolling
HasGallery
IsDropDownOpen
IsDropDownPositionedAbove
IsInControlGroup
IsInQuickAccessToolBar
ItemContainerTemplateSelector
KeyTip
Label
LargeImageSource
MouseOverBackground
MouseOverBorderBrush
PressedBackground
PressedBorderBrush
QuickAccessToolBarControlSizeDefinition
QuickAccessToolBarId
Ribbon
SmallImageSource
ToolTipDescription
ToolTipFooterDescription
ToolTipFooterImageSource
ToolTipFooterTitle
ToolTipImageSource
ToolTipTitle
UsesItemContainerTemplate

Methods

ClearContainerForItemOverride(DependencyObject, Object)
GetContainerForItemOverride()
HandleMouseButton(MouseButtonEventArgs)
IsItemItsOwnContainerOverride(Object)
OnActivatingKeyTip(ActivatingKeyTipEventArgs)
OnApplyTemplate()
OnCreateAutomationPeer()
OnDismissPopup(RibbonDismissPopupEventArgs)
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
OnKeyDown(KeyEventArgs)
OnKeyTipAccessed(KeyTipAccessedEventArgs)
OnKeyUp(KeyEventArgs)
OnPreviewKeyDown(KeyEventArgs)
OnPreviewMouseDown(MouseButtonEventArgs)
OnTemplateChanged(ControlTemplate, ControlTemplate)
PrepareContainerForItemOverride(DependencyObject, Object)
ShouldApplyItemContainerStyle(DependencyObject, Object)

Events

DropDownClosed
DropDownOpened

Applies to