4 writes to MainWindow
IdeBenchmarks (1)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (1)
168_wpfApp.MainWindow = new Window();
PresentationFramework (3)
System\Windows\Application.cs (1)
1707MainWindow = window;
System\Windows\Window.cs (2)
2194App.MainWindow = null; 3684App.MainWindow = this;
11 references to MainWindow
IdeBenchmarks (1)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (1)
181_wpfApp.MainWindow.Content = _canvas;
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (2)
185if (Application.Current != null && Application.Current.MainWindow != null) 187_rootDependencyObject = Application.Current.MainWindow;
PresentationFramework (7)
MS\Internal\Printing\Win32PrintDialog.cs (2)
61(System.Windows.Application.Current.MainWindow != null)) 64new System.Windows.Interop.WindowInteropHelper(System.Windows.Application.Current.MainWindow);
System\Windows\Application.cs (1)
1705if (MainWindow == null)
System\Windows\Controls\DocumentViewer.cs (1)
2219wnd = Application.Current.MainWindow;
System\Windows\Window.cs (3)
2192if (IsInsideApp && this == App.MainWindow) 3682if (App.MainWindow == null) 4546|| ((App.MainWindow == this) && (App.ShutdownMode == ShutdownMode.OnMainWindowClose)))
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
187System.Windows.Application.Current.MainWindow);