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)
669
IntPtr hwndCurrent =
_source
.Handle;
723
if(lParam !=
_source
.Handle) // Ignore odd messages that claim we are losing capture to ourselves.
775
if(
_source
.HasCapture)
862
if(
_source
!= null && !
_source
.IsDisposed &&
_source
.CompositionTarget != null)
863
dispatcherHashCode =
_source
.CompositionTarget.Dispatcher.GetHashCode();
887
if (
_source
is null)
934
if (!stillActiveIfOverSelf && hwndToCheck ==
_source
.Handle)
976
ReportInput(
_source
.Handle,
1085
Assembly presentationFramework = GetPresentationFrameworkFromHwndSource(
_source
);
1181
Debug.Assert(
_source
is not null);
1189
if(hwndSource.Dispatcher ==
_source
.Dispatcher)
1226
Debug.Assert(
_source
is not null);
1227
if (
_source
is null)
1232
PresentationSource source =
_source
;
1385
int windowStyle = SafeNativeMethods.GetWindowStyle(new HandleRef(this,
_source
.Handle), true);
1390
SafeNativeMethods.GetClientRect(new HandleRef(this,
_source
.Handle), ref rcClient);
1440
currentPosition = PointUtil.ClientToScreen(currentPosition,
_source
);