2 instantiations of ContextMenuEventArgs
PresentationFramework (2)
System\Windows\Controls\PopupControlService.cs (2)
972ContextMenuEventArgs args = new ContextMenuEventArgs(source, true /* opening */, x, y); 1060ContextMenuEventArgs args = new ContextMenuEventArgs(inputElement, false /*opening */);
41 references to ContextMenuEventArgs
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
108protected override void OnContextMenuOpening(ContextMenuEventArgs e)
PresentationFramework (27)
MS\Internal\Documents\DocumentGridContextMenu.cs (2)
56private static void OnDocumentViewerContextMenuOpening(object sender, ContextMenuEventArgs e) 71private static void OnContextMenuOpening(object sender, ContextMenuEventArgs e)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
365internal static void OnContextMenuOpening(FlowDocument document, Control viewer, ContextMenuEventArgs e)
System\Windows\Controls\ComboBox.cs (2)
1193private static void OnContextMenuOpen(object sender, ContextMenuEventArgs e) 1198private static void OnContextMenuClose(object sender, ContextMenuEventArgs e)
System\Windows\Controls\ContextMenuService.cs (2)
401private static void OnContextMenuOpening(object sender, ContextMenuEventArgs e) 442public delegate void ContextMenuEventHandler(object sender, ContextMenuEventArgs e);
System\Windows\Controls\DataGrid.cs (1)
6362protected override void OnContextMenuOpening(ContextMenuEventArgs e)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
744protected override void OnContextMenuOpening(ContextMenuEventArgs e)
System\Windows\Controls\PasswordBox.cs (1)
710protected override void OnContextMenuOpening(ContextMenuEventArgs e)
System\Windows\Controls\PopupControlService.cs (2)
972ContextMenuEventArgs args = new ContextMenuEventArgs(source, true /* opening */, x, y); 1060ContextMenuEventArgs args = new ContextMenuEventArgs(inputElement, false /*opening */);
System\Windows\Controls\Primitives\ScrollBar.cs (2)
816protected override void OnContextMenuOpening(ContextMenuEventArgs e) 831protected override void OnContextMenuClosing(ContextMenuEventArgs e)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1327protected override void OnContextMenuOpening(ContextMenuEventArgs e)
System\Windows\Controls\SinglePageViewer.cs (1)
462protected override void OnContextMenuOpening(ContextMenuEventArgs e)
System\Windows\Controls\StickyNote.cs (1)
869private static void _OnContextMenuOpening(object sender, ContextMenuEventArgs args)
System\windows\Documents\TextEditor.cs (1)
742internal void OnContextMenuOpening(ContextMenuEventArgs e)
System\windows\Documents\TextEditorContextMenu.cs (1)
46internal static void OnContextMenuOpening(object sender, ContextMenuEventArgs e)
System\Windows\FrameworkContentElement.cs (4)
1964private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 1973protected virtual void OnContextMenuOpening(ContextMenuEventArgs e) 1991private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e) 2000protected virtual void OnContextMenuClosing(ContextMenuEventArgs e)
System\Windows\FrameworkElement.cs (4)
6021private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 6030protected virtual void OnContextMenuOpening(ContextMenuEventArgs e) 6048private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e) 6057protected virtual void OnContextMenuClosing(ContextMenuEventArgs e)
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
566protected override void OnContextMenuOpening(ContextMenuEventArgs e) 584protected override void OnContextMenuClosing(ContextMenuEventArgs e)
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (3)
2403private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 2408private void OnContextMenuOpeningInternal(ContextMenuEventArgs e) 2420private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
1484private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 1494private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1580private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 1590private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
1850private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 1866private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (2)
440private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 451private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e)