11 references to ContextMenuOpeningEvent
PresentationFramework (6)
MS\Internal\Documents\DocumentGridContextMenu.cs (2)
30
EventManager.RegisterClassHandler(typeof(DocumentGrid), FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpening));
31
EventManager.RegisterClassHandler(typeof(DocumentApplicationDocumentViewer), FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnDocumentViewerContextMenuOpening));
System\windows\Documents\TextEditorContextMenu.cs (1)
37
EventManager.RegisterClassHandler(controlType, FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpening));
System\Windows\FrameworkElement.cs (3)
2398
EventManager.RegisterClassHandler(_typeofThis,
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpeningThunk));
6006
add { AddHandler(
ContextMenuOpeningEvent
, value); }
6007
remove { RemoveHandler(
ContextMenuOpeningEvent
, value); }
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
119
EventManager.RegisterClassHandler(ownerType, FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpeningThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
78
EventManager.RegisterClassHandler(ownerType, FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpeningThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
81
EventManager.RegisterClassHandler(ownerType, FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpeningThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
72
EventManager.RegisterClassHandler(ownerType, FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpeningThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
116
EventManager.RegisterClassHandler(ownerType, FrameworkElement.
ContextMenuOpeningEvent
, new ContextMenuEventHandler(OnContextMenuOpeningThunk), true);