5 writes to ContextMenu
Microsoft.VisualStudio.LanguageServices (2)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (2)
93
ContextMenu
= new ContextMenu();
123
ContextMenu
= new InheritanceMarginContextMenu(
PresentationFramework (1)
System\Windows\Controls\DocumentViewer.cs (1)
293
this.
ContextMenu
= null;
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
574
this.
ContextMenu
= ScrollViewer.ContextMenu;
587
this.
ContextMenu
= null;
14 references to ContextMenu
Microsoft.VisualStudio.LanguageServices (7)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (7)
119
if (
ContextMenu
is not InheritanceMarginContextMenu)
130
ContextMenu
.DataContext = viewModel;
131
ContextMenu
.ItemsSource = viewModel.MenuItemViewModels;
132
ContextMenu
.Opened += ContextMenu_OnOpen;
133
ContextMenu
.Closed += ContextMenu_OnClose;
140
ContextMenu
.IsOpen = true;
159
if (!
ContextMenu
.IsOpen)
PresentationFramework (6)
MS\Internal\Documents\DocumentGridContextMenu.cs (3)
86
if (documentGrid.DocumentViewerOwner.
ContextMenu
!= null || documentGrid.DocumentViewerOwner.ScrollViewer.
ContextMenu
!= null)
90
contextMenu = documentGrid.
ContextMenu
;
MS\Internal\Documents\DocumentViewerHelper.cs (1)
375
cm = viewer.
ContextMenu
;
System\Windows\Controls\DocumentViewer.cs (1)
291
if (this.
ContextMenu
== null)
System\windows\Documents\TextEditorContextMenu.cs (1)
136
contextMenu = This.UiScope.
ContextMenu
;
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
574
this.ContextMenu = ScrollViewer.
ContextMenu
;