4 instantiations of RibbonContextMenu
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (4)
279_defaultRibbonClientAreaContextMenu = new RibbonContextMenu(); 292_ribbonControlContextMenu = new RibbonContextMenu(); 307_qatControlContextMenu = new RibbonContextMenu(); 324_galleryContextMenu = new RibbonContextMenu();
27 references to RibbonContextMenu
System.Windows.Controls.Ribbon (27)
Microsoft\Windows\Automation\Peers\RibbonContextMenuAutomationPeer.cs (1)
28public RibbonContextMenuAutomationPeer(RibbonContextMenu owner)
Microsoft\Windows\Controls\Ribbon\RibbonCommands.cs (6)
24AddToQuickAccessToolBarCommand = new RoutedUICommand(RibbonContextMenu.AddToQATText, "AddToQuickAccessToolBar", typeof(RibbonCommands)); 25RemoveFromQuickAccessToolBarCommand = new RoutedUICommand(RibbonContextMenu.RemoveFromQATText, "RemoveFromQuickAccessToolBar", typeof(RibbonCommands)); 26MinimizeRibbonCommand = new RoutedUICommand(RibbonContextMenu.MinimizeTheRibbonText, "MinimizeRibbon", typeof(RibbonCommands)); 27MaximizeRibbonCommand = new RoutedUICommand(RibbonContextMenu.MaximizeTheRibbonText, "MaximizeRibbon", typeof(RibbonCommands)); 28ShowQuickAccessToolBarAboveRibbonCommand = new RoutedUICommand(RibbonContextMenu.ShowQATAboveText, "ShowQuickAccessToolBarAboveRibbon", typeof(RibbonCommands)); 29ShowQuickAccessToolBarBelowRibbonCommand = new RoutedUICommand(RibbonContextMenu.ShowQATBelowText, "ShowQuickAccessToolBarBelowRibbon", typeof(RibbonCommands));
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (18)
44Type ownerType = typeof(RibbonContextMenu); 94RibbonContextMenu contextMenu = (RibbonContextMenu)d; 204((RibbonContextMenu)sender).OnClickThrough(); 236private static RibbonContextMenu _galleryContextMenu; 239private static RibbonContextMenu _ribbonControlContextMenu; 242private static RibbonContextMenu _qatControlContextMenu; 245private static RibbonContextMenu _defaultRibbonClientAreaContextMenu; 247internal static RibbonContextMenu ChooseContextMenu(DependencyObject owner) 275private static RibbonContextMenu GetDefaultRibbonClientAreaContextMenu() 288private static RibbonContextMenu GetRibbonControlContextMenu() 303private static RibbonContextMenu GetQATControlContextMenu() 320private static RibbonContextMenu GetGalleryContextMenu() 332private static RibbonMenuItem GenerateAddGalleryToQATItem(RibbonContextMenu contextMenu) 350private static RibbonMenuItem GenerateAddToOrRemoveFromQATItem(bool controlIsInQAT, RibbonContextMenu contextMenu) 371private static RibbonMenuItem GenerateQATPlacementMenuItem(RibbonContextMenu contextMenu) 449private static RibbonMenuItem GenerateMinimizeTheRibbonItem(RibbonContextMenu contextMenu) 616public static readonly DependencyProperty HasGalleryProperty = RibbonMenuButton.HasGalleryPropertyKey.DependencyProperty.AddOwner(typeof(RibbonContextMenu));
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1415RibbonContextMenu cm = RibbonContextMenu.ChooseContextMenu(d);