2 instantiations of ContextMenuEventArgs
PresentationFramework (2)
System\Windows\Controls\PopupControlService.cs (2)
968
ContextMenuEventArgs args = new
ContextMenuEventArgs
(source, true /* opening */, x, y);
1056
ContextMenuEventArgs args = new
ContextMenuEventArgs
(inputElement, false /*opening */);
41 references to ContextMenuEventArgs
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
108
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
PresentationFramework (27)
MS\Internal\Documents\DocumentGridContextMenu.cs (2)
47
private static void OnDocumentViewerContextMenuOpening(object sender,
ContextMenuEventArgs
e)
62
private static void OnContextMenuOpening(object sender,
ContextMenuEventArgs
e)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
362
internal static void OnContextMenuOpening(FlowDocument document, Control viewer,
ContextMenuEventArgs
e)
System\Windows\Controls\ComboBox.cs (2)
1178
private static void OnContextMenuOpen(object sender,
ContextMenuEventArgs
e)
1183
private static void OnContextMenuClose(object sender,
ContextMenuEventArgs
e)
System\Windows\Controls\ContextMenuService.cs (2)
396
private static void OnContextMenuOpening(object sender,
ContextMenuEventArgs
e)
437
public delegate void ContextMenuEventHandler(object sender,
ContextMenuEventArgs
e);
System\Windows\Controls\DataGrid.cs (1)
6317
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
736
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System\Windows\Controls\PasswordBox.cs (1)
694
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System\Windows\Controls\PopupControlService.cs (2)
968
ContextMenuEventArgs
args = new ContextMenuEventArgs(source, true /* opening */, x, y);
1056
ContextMenuEventArgs
args = new ContextMenuEventArgs(inputElement, false /*opening */);
System\Windows\Controls\Primitives\ScrollBar.cs (2)
801
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
816
protected override void OnContextMenuClosing(
ContextMenuEventArgs
e)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1277
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System\Windows\Controls\SinglePageViewer.cs (1)
458
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System\Windows\Controls\StickyNote.cs (1)
833
private static void _OnContextMenuOpening(object sender,
ContextMenuEventArgs
args)
System\windows\Documents\TextEditor.cs (1)
729
internal void OnContextMenuOpening(
ContextMenuEventArgs
e)
System\windows\Documents\TextEditorContextMenu.cs (1)
43
internal static void OnContextMenuOpening(object sender,
ContextMenuEventArgs
e)
System\Windows\FrameworkContentElement.cs (4)
1943
private static void OnContextMenuOpeningThunk(object sender,
ContextMenuEventArgs
e)
1952
protected virtual void OnContextMenuOpening(
ContextMenuEventArgs
e)
1970
private static void OnContextMenuClosingThunk(object sender,
ContextMenuEventArgs
e)
1979
protected virtual void OnContextMenuClosing(
ContextMenuEventArgs
e)
System\Windows\FrameworkElement.cs (4)
6005
private static void OnContextMenuOpeningThunk(object sender,
ContextMenuEventArgs
e)
6014
protected virtual void OnContextMenuOpening(
ContextMenuEventArgs
e)
6032
private static void OnContextMenuClosingThunk(object sender,
ContextMenuEventArgs
e)
6041
protected virtual void OnContextMenuClosing(
ContextMenuEventArgs
e)
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
551
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
569
protected override void OnContextMenuClosing(
ContextMenuEventArgs
e)
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (3)
2374
private static void OnContextMenuOpeningThunk(object sender,
ContextMenuEventArgs
e)
2379
private void OnContextMenuOpeningInternal(
ContextMenuEventArgs
e)
2391
private static void OnContextMenuClosingThunk(object sender,
ContextMenuEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
1471
private static void OnContextMenuOpeningThunk(object sender,
ContextMenuEventArgs
e)
1481
private static void OnContextMenuClosingThunk(object sender,
ContextMenuEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1567
private static void OnContextMenuOpeningThunk(object sender,
ContextMenuEventArgs
e)
1577
private static void OnContextMenuClosingThunk(object sender,
ContextMenuEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
1833
private static void OnContextMenuOpeningThunk(object sender,
ContextMenuEventArgs
e)
1849
private static void OnContextMenuClosingThunk(object sender,
ContextMenuEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (2)
422
private static void OnContextMenuOpeningThunk(object sender,
ContextMenuEventArgs
e)
433
private static void OnContextMenuClosingThunk(object sender,
ContextMenuEventArgs
e)