11 references to ContextMenuOpeningEvent
PresentationFramework (6)
MS\Internal\Documents\DocumentGridContextMenu.cs (2)
38
EventManager.RegisterClassHandler(typeof(DocumentGrid), FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpening));
39
EventManager.RegisterClassHandler(typeof(DocumentApplicationDocumentViewer), FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnDocumentViewerContextMenuOpening));
System\windows\Documents\TextEditorContextMenu.cs (1)
39
EventManager.RegisterClassHandler(controlType, FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpening));
System\Windows\FrameworkElement.cs (3)
2409
EventManager.RegisterClassHandler(_typeofThis,
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpeningThunk));
6017
add { AddHandler(
ContextMenuOpeningEvent
, value); }
6018
remove { RemoveHandler(
ContextMenuOpeningEvent
, value); }
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
122
EventManager.RegisterClassHandler(ownerType, FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpeningThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
81
EventManager.RegisterClassHandler(ownerType, FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpeningThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
84
EventManager.RegisterClassHandler(ownerType, FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpeningThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
75
EventManager.RegisterClassHandler(ownerType, FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpeningThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
121
EventManager.RegisterClassHandler(ownerType, FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpeningThunk), true);