2 writes to _source
PresentationCore (2)
System\Windows\InterOp\HwndMouseInputProvider.cs (2)
27
_source
= source;
71
_source
= null;
29 references to _source
PresentationCore (29)
System\Windows\InterOp\HwndMouseInputProvider.cs (29)
42
StopTracking(
_source
.CriticalHandle);
47
if(
_source
.HasCapture)
76
return
_source
.RootVisual == v;
83
StopTracking(
_source
.CriticalHandle);
124
Debug.Assert(
_source
is not null);
128
SafeNativeMethods.SetCapture(new HandleRef(this,
_source
.CriticalHandle));
130
if (capture !=
_source
.CriticalHandle)
158
SafeNativeMethods.ScreenToClient(new HandleRef(this,
_source
.CriticalHandle), ref ptCursor);
169
ReportInput(
_source
.CriticalHandle,
327
if(
_source
is null)
677
IntPtr hwndCurrent =
_source
.CriticalHandle;
731
if(lParam !=
_source
.CriticalHandle) // Ignore odd messages that claim we are losing capture to ourselves.
783
if(
_source
.HasCapture)
870
if(
_source
!= null && !
_source
.IsDisposed &&
_source
.CompositionTarget != null)
871
dispatcherHashCode =
_source
.CompositionTarget.Dispatcher.GetHashCode();
895
if (
_source
is null)
942
if (!stillActiveIfOverSelf && hwndToCheck ==
_source
.CriticalHandle)
984
ReportInput(
_source
.CriticalHandle,
1093
Assembly presentationFramework = GetPresentationFrameworkFromHwndSource(
_source
);
1189
Debug.Assert(
_source
is not null);
1197
if(hwndSource.Dispatcher ==
_source
.Dispatcher)
1234
Debug.Assert(
_source
is not null);
1235
if (
_source
is null)
1240
PresentationSource source =
_source
;
1393
int windowStyle = SafeNativeMethods.GetWindowStyle(new HandleRef(this,
_source
.CriticalHandle), true);
1398
SafeNativeMethods.GetClientRect(new HandleRef(this,
_source
.Handle), ref rcClient);
1448
currentPosition = PointUtil.ClientToScreen(currentPosition,
_source
);