2 instantiations of ContextMenuEventArgs
PresentationFramework (2)
src\Framework\System\Windows\Controls\PopupControlService.cs (2)
847
ContextMenuEventArgs args = new
ContextMenuEventArgs
(source, true /* opening */, x, y);
935
ContextMenuEventArgs args = new
ContextMenuEventArgs
(inputElement, false /*opening */);
39 references to ContextMenuEventArgs
PresentationFramework (27)
src\Framework\MS\Internal\Documents\DocumentGridContextMenu.cs (2)
68
private static void OnDocumentViewerContextMenuOpening(object sender,
ContextMenuEventArgs
e)
88
private static void OnContextMenuOpening(object sender,
ContextMenuEventArgs
e)
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
385
internal static void OnContextMenuOpening(FlowDocument document, Control viewer,
ContextMenuEventArgs
e)
src\Framework\System\Windows\Controls\ComboBox.cs (2)
1195
private static void OnContextMenuOpen(object sender,
ContextMenuEventArgs
e)
1200
private static void OnContextMenuClose(object sender,
ContextMenuEventArgs
e)
src\Framework\System\Windows\Controls\ContextMenuService.cs (2)
456
private static void OnContextMenuOpening(object sender,
ContextMenuEventArgs
e)
497
public delegate void ContextMenuEventHandler(object sender,
ContextMenuEventArgs
e);
src\Framework\System\Windows\Controls\DataGrid.cs (1)
6367
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
750
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
726
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
src\Framework\System\Windows\Controls\PopupControlService.cs (2)
847
ContextMenuEventArgs
args = new ContextMenuEventArgs(source, true /* opening */, x, y);
935
ContextMenuEventArgs
args = new ContextMenuEventArgs(inputElement, false /*opening */);
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (2)
821
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
836
protected override void OnContextMenuClosing(
ContextMenuEventArgs
e)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1353
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
469
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
src\Framework\System\Windows\Controls\StickyNote.cs (1)
879
private static void _OnContextMenuOpening(object sender,
ContextMenuEventArgs
args)
src\Framework\System\windows\Documents\TextEditor.cs (1)
769
internal void OnContextMenuOpening(
ContextMenuEventArgs
e)
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
55
internal static void OnContextMenuOpening(object sender,
ContextMenuEventArgs
e)
src\Framework\System\Windows\FrameworkContentElement.cs (4)
1975
private static void OnContextMenuOpeningThunk(object sender,
ContextMenuEventArgs
e)
1984
protected virtual void OnContextMenuOpening(
ContextMenuEventArgs
e)
2002
private static void OnContextMenuClosingThunk(object sender,
ContextMenuEventArgs
e)
2011
protected virtual void OnContextMenuClosing(
ContextMenuEventArgs
e)
src\Framework\System\Windows\FrameworkElement.cs (4)
6027
private static void OnContextMenuOpeningThunk(object sender,
ContextMenuEventArgs
e)
6036
protected virtual void OnContextMenuOpening(
ContextMenuEventArgs
e)
6054
private static void OnContextMenuClosingThunk(object sender,
ContextMenuEventArgs
e)
6063
protected virtual void OnContextMenuClosing(
ContextMenuEventArgs
e)
System.Activities.Core.Presentation (4)
System\Activities\Core\Presentation\StartSymbol.xaml.cs (1)
46
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
1451
void OnConnectorContextMenuOpening(object sender,
ContextMenuEventArgs
e)
System\Activities\Core\Presentation\StateMachineConnetionPointsAdorner.cs (1)
61
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (1)
322
void OnTransitionNameTextBoxContextMenuOpening(object sender,
ContextMenuEventArgs
e)
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
215
void OnDefaultDisplayNameBoxContextMenuOpening(object sender,
ContextMenuEventArgs
e)
System.Activities.Presentation\System\Activities\Presentation\Annotations\DockedAnnotationView.xaml.cs (1)
66
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System.Activities.Presentation\System\Activities\Presentation\Annotations\FloatingAnnotationView.xaml.cs (1)
73
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
572
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
376
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System.Activities.Presentation\System\Activities\Presentation\View\NoContextMenuGrid.cs (1)
13
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
582
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
142
protected override void OnContextMenuOpening(
ContextMenuEventArgs
e)