4 instantiations of RibbonContextMenu
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (4)
280
_defaultRibbonClientAreaContextMenu = new
RibbonContextMenu
();
293
_ribbonControlContextMenu = new
RibbonContextMenu
();
308
_qatControlContextMenu = new
RibbonContextMenu
();
325
_galleryContextMenu = new
RibbonContextMenu
();
27 references to RibbonContextMenu
System.Windows.Controls.Ribbon (27)
Microsoft\Windows\Automation\Peers\RibbonContextMenuAutomationPeer.cs (1)
29
public RibbonContextMenuAutomationPeer(
RibbonContextMenu
owner)
Microsoft\Windows\Controls\Ribbon\RibbonCommands.cs (6)
25
AddToQuickAccessToolBarCommand = new RoutedUICommand(
RibbonContextMenu
.AddToQATText, "AddToQuickAccessToolBar", typeof(RibbonCommands));
26
RemoveFromQuickAccessToolBarCommand = new RoutedUICommand(
RibbonContextMenu
.RemoveFromQATText, "RemoveFromQuickAccessToolBar", typeof(RibbonCommands));
27
MinimizeRibbonCommand = new RoutedUICommand(
RibbonContextMenu
.MinimizeTheRibbonText, "MinimizeRibbon", typeof(RibbonCommands));
28
MaximizeRibbonCommand = new RoutedUICommand(
RibbonContextMenu
.MaximizeTheRibbonText, "MaximizeRibbon", typeof(RibbonCommands));
29
ShowQuickAccessToolBarAboveRibbonCommand = new RoutedUICommand(
RibbonContextMenu
.ShowQATAboveText, "ShowQuickAccessToolBarAboveRibbon", typeof(RibbonCommands));
30
ShowQuickAccessToolBarBelowRibbonCommand = new RoutedUICommand(
RibbonContextMenu
.ShowQATBelowText, "ShowQuickAccessToolBarBelowRibbon", typeof(RibbonCommands));
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (18)
45
Type ownerType = typeof(
RibbonContextMenu
);
95
RibbonContextMenu
contextMenu = (
RibbonContextMenu
)d;
205
((
RibbonContextMenu
)sender).OnClickThrough();
237
private static
RibbonContextMenu
_galleryContextMenu;
240
private static
RibbonContextMenu
_ribbonControlContextMenu;
243
private static
RibbonContextMenu
_qatControlContextMenu;
246
private static
RibbonContextMenu
_defaultRibbonClientAreaContextMenu;
248
internal static
RibbonContextMenu
ChooseContextMenu(DependencyObject owner)
276
private static
RibbonContextMenu
GetDefaultRibbonClientAreaContextMenu()
289
private static
RibbonContextMenu
GetRibbonControlContextMenu()
304
private static
RibbonContextMenu
GetQATControlContextMenu()
321
private static
RibbonContextMenu
GetGalleryContextMenu()
333
private static RibbonMenuItem GenerateAddGalleryToQATItem(
RibbonContextMenu
contextMenu)
351
private static RibbonMenuItem GenerateAddToOrRemoveFromQATItem(bool controlIsInQAT,
RibbonContextMenu
contextMenu)
372
private static RibbonMenuItem GenerateQATPlacementMenuItem(
RibbonContextMenu
contextMenu)
450
private static RibbonMenuItem GenerateMinimizeTheRibbonItem(
RibbonContextMenu
contextMenu)
617
public static readonly DependencyProperty HasGalleryProperty = RibbonMenuButton.HasGalleryPropertyKey.DependencyProperty.AddOwner(typeof(
RibbonContextMenu
));
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1440
RibbonContextMenu
cm =
RibbonContextMenu
.ChooseContextMenu(d);