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