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