4 writes to MainWindow
IdeBenchmarks (1)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (1)
168
_wpfApp.
MainWindow
= new Window();
PresentationFramework (3)
System\Windows\Application.cs (1)
1707
MainWindow
= window;
System\Windows\Window.cs (2)
2194
App.
MainWindow
= null;
3684
App.
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)
185
if (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))
64
new System.Windows.Interop.WindowInteropHelper(System.Windows.Application.Current.
MainWindow
);
System\Windows\Application.cs (1)
1705
if (
MainWindow
== null)
System\Windows\Controls\DocumentViewer.cs (1)
2219
wnd = Application.Current.
MainWindow
;
System\Windows\Window.cs (3)
2192
if (IsInsideApp && this == App.
MainWindow
)
3682
if (App.
MainWindow
== null)
4546
|| ((App.
MainWindow
== this) && (App.ShutdownMode == ShutdownMode.OnMainWindowClose)))
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
187
System.Windows.Application.Current.
MainWindow
);