2 instantiations of ContextMenuEventArgs
PresentationFramework (2)
System\Windows\Controls\PopupControlService.cs (2)
962ContextMenuEventArgs args = new ContextMenuEventArgs(source, true /* opening */, x, y); 1050ContextMenuEventArgs 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)
48private static void OnDocumentViewerContextMenuOpening(object sender, ContextMenuEventArgs e) 63private static void OnContextMenuOpening(object sender, ContextMenuEventArgs e)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
363internal static void OnContextMenuOpening(FlowDocument document, Control viewer, ContextMenuEventArgs e)
System\Windows\Controls\ComboBox.cs (2)
1183private static void OnContextMenuOpen(object sender, ContextMenuEventArgs e) 1188private static void OnContextMenuClose(object sender, ContextMenuEventArgs e)
System\Windows\Controls\ContextMenuService.cs (2)
397private static void OnContextMenuOpening(object sender, ContextMenuEventArgs e) 438public delegate void ContextMenuEventHandler(object sender, ContextMenuEventArgs e);
System\Windows\Controls\DataGrid.cs (1)
6359protected override void OnContextMenuOpening(ContextMenuEventArgs e)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
741protected override void OnContextMenuOpening(ContextMenuEventArgs e)
System\Windows\Controls\PasswordBox.cs (1)
702protected override void OnContextMenuOpening(ContextMenuEventArgs e)
System\Windows\Controls\PopupControlService.cs (2)
962ContextMenuEventArgs args = new ContextMenuEventArgs(source, true /* opening */, x, y); 1050ContextMenuEventArgs args = new ContextMenuEventArgs(inputElement, false /*opening */);
System\Windows\Controls\Primitives\ScrollBar.cs (2)
800protected override void OnContextMenuOpening(ContextMenuEventArgs e) 815protected override void OnContextMenuClosing(ContextMenuEventArgs e)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1318protected override void OnContextMenuOpening(ContextMenuEventArgs e)
System\Windows\Controls\SinglePageViewer.cs (1)
459protected override void OnContextMenuOpening(ContextMenuEventArgs e)
System\Windows\Controls\StickyNote.cs (1)
853private static void _OnContextMenuOpening(object sender, ContextMenuEventArgs args)
System\windows\Documents\TextEditor.cs (1)
736internal void OnContextMenuOpening(ContextMenuEventArgs e)
System\windows\Documents\TextEditorContextMenu.cs (1)
44internal static void OnContextMenuOpening(object sender, ContextMenuEventArgs e)
System\Windows\FrameworkContentElement.cs (4)
1952private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 1961protected virtual void OnContextMenuOpening(ContextMenuEventArgs e) 1979private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e) 1988protected virtual void OnContextMenuClosing(ContextMenuEventArgs e)
System\Windows\FrameworkElement.cs (4)
6010private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 6019protected virtual void OnContextMenuOpening(ContextMenuEventArgs e) 6037private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e) 6046protected virtual void OnContextMenuClosing(ContextMenuEventArgs e)
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
559protected override void OnContextMenuOpening(ContextMenuEventArgs e) 577protected override void OnContextMenuClosing(ContextMenuEventArgs e)
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (3)
2400private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 2405private void OnContextMenuOpeningInternal(ContextMenuEventArgs e) 2417private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
1481private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 1491private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1577private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 1587private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
1847private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 1863private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (2)
435private static void OnContextMenuOpeningThunk(object sender, ContextMenuEventArgs e) 446private static void OnContextMenuClosingThunk(object sender, ContextMenuEventArgs e)