2 writes to _hwndSource
PresentationFramework (2)
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (2)
212
_hwndSource
= HwndSource.FromHwnd(_hwnd);
237
_hwndSource
= HwndSource.FromHwnd(_hwnd);
10 references to _hwndSource
PresentationFramework (10)
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (10)
213
Assert.IsNotNull(
_hwndSource
);
238
Assert.IsNotNull(
_hwndSource
);
321
if (_hwnd == IntPtr.Zero ||
_hwndSource
.IsDisposed)
335
_hwndSource
.AddHook(_WndProc);
1117
if (IntPtr.Zero == _hwnd ||
_hwndSource
.IsDisposed)
1376
_hwndSource
.CompositionTarget.BackgroundColor = SystemColors.WindowColor;
1386
_hwndSource
.CompositionTarget.BackgroundColor = Colors.Transparent;
1501
if (!isClosing && !
_hwndSource
.IsDisposed)
1522
_hwndSource
.RemoveHook(_WndProc);
1564
_hwndSource
.CompositionTarget.BackgroundColor = SystemColors.WindowColor;