4 writes to MainWindow
IdeBenchmarks (1)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (1)
168_wpfApp.MainWindow = new Window();
PresentationFramework (3)
System\Windows\Application.cs (1)
1697MainWindow = window;
System\Windows\Window.cs (2)
2186App.MainWindow = null; 3673App.MainWindow = this;
9 references to MainWindow
IdeBenchmarks (1)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (1)
181_wpfApp.MainWindow.Content = _canvas;
PresentationFramework (7)
MS\Internal\Printing\Win32PrintDialog.cs (2)
60(System.Windows.Application.Current.MainWindow != null)) 63new System.Windows.Interop.WindowInteropHelper(System.Windows.Application.Current.MainWindow);
System\Windows\Application.cs (1)
1695if (MainWindow == null)
System\Windows\Controls\DocumentViewer.cs (1)
2161wnd = Application.Current.MainWindow;
System\Windows\Window.cs (3)
2184if (IsInsideApp && this == App.MainWindow) 3671if (App.MainWindow == null) 4532|| ((App.MainWindow == this) && (App.ShutdownMode == ShutdownMode.OnMainWindowClose)))
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
186System.Windows.Application.Current.MainWindow);