4 writes to MainWindow
IdeBenchmarks (1)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (1)
168
_wpfApp.
MainWindow
= new Window();
PresentationFramework (3)
System\Windows\Application.cs (1)
1727
MainWindow
= window;
System\Windows\Window.cs (2)
2200
App.
MainWindow
= null;
3692
App.
MainWindow
= this;
18 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 (14)
MS\Internal\AppModel\OleCmdHelper.cs (6)
94
if (Application.Current.
MainWindow
== null)
96
IInputElement target = FocusManager.GetFocusedElement(Application.Current.
MainWindow
);
100
target = (IInputElement)Application.Current.
MainWindow
;
143
if (Application.Current.
MainWindow
== null)
145
IInputElement target = FocusManager.GetFocusedElement(Application.Current.
MainWindow
);
149
target = (IInputElement)Application.Current.
MainWindow
;
MS\Internal\AppModel\SecurityMgrSite.cs (1)
28
Window curWindow = Application.Current.
MainWindow
;
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)
1725
if (
MainWindow
== null)
System\Windows\Controls\DocumentViewer.cs (1)
2211
wnd = Application.Current.
MainWindow
;
System\Windows\Window.cs (3)
2198
if (IsInsideApp && this == App.
MainWindow
)
3690
if (App.
MainWindow
== null)
4552
|| ((App.
MainWindow
== this) && (App.ShutdownMode == ShutdownMode.OnMainWindowClose)))
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
191
System.Windows.Application.Current.
MainWindow
);