2 writes to _source
PresentationCore (2)
System\Windows\InterOp\HwndMouseInputProvider.cs (2)
22
_source
= source;
66
_source
= null;
29 references to _source
PresentationCore (29)
System\Windows\InterOp\HwndMouseInputProvider.cs (29)
37
StopTracking(
_source
.Handle);
42
if(
_source
.HasCapture)
71
return
_source
.RootVisual == v;
78
StopTracking(
_source
.Handle);
119
Debug.Assert(
_source
is not null);
123
SafeNativeMethods.SetCapture(new HandleRef(this,
_source
.Handle));
125
if (capture !=
_source
.Handle)
153
SafeNativeMethods.ScreenToClient(new HandleRef(this,
_source
.Handle), ref ptCursor);
164
ReportInput(
_source
.Handle,
319
if(
_source
is null)
666
IntPtr hwndCurrent =
_source
.Handle;
720
if(lParam !=
_source
.Handle) // Ignore odd messages that claim we are losing capture to ourselves.
772
if(
_source
.HasCapture)
859
if(
_source
!= null && !
_source
.IsDisposed &&
_source
.CompositionTarget != null)
860
dispatcherHashCode =
_source
.CompositionTarget.Dispatcher.GetHashCode();
884
if (
_source
is null)
931
if (!stillActiveIfOverSelf && hwndToCheck ==
_source
.Handle)
973
ReportInput(
_source
.Handle,
1082
Assembly presentationFramework = GetPresentationFrameworkFromHwndSource(
_source
);
1178
Debug.Assert(
_source
is not null);
1186
if(hwndSource.Dispatcher ==
_source
.Dispatcher)
1223
Debug.Assert(
_source
is not null);
1224
if (
_source
is null)
1229
PresentationSource source =
_source
;
1382
int windowStyle = SafeNativeMethods.GetWindowStyle(new HandleRef(this,
_source
.Handle), true);
1387
SafeNativeMethods.GetClientRect(new HandleRef(this,
_source
.Handle), ref rcClient);
1437
currentPosition = PointUtil.ClientToScreen(currentPosition,
_source
);