2 writes to _source
PresentationCore (2)
System\Windows\InterOp\HwndMouseInputProvider.cs (2)
23
_source
= source;
67
_source
= null;
29 references to _source
PresentationCore (29)
System\Windows\InterOp\HwndMouseInputProvider.cs (29)
38
StopTracking(
_source
.Handle);
43
if(
_source
.HasCapture)
72
return
_source
.RootVisual == v;
79
StopTracking(
_source
.Handle);
120
Debug.Assert(
_source
is not null);
124
SafeNativeMethods.SetCapture(new HandleRef(this,
_source
.Handle));
126
if (capture !=
_source
.Handle)
154
SafeNativeMethods.ScreenToClient(new HandleRef(this,
_source
.Handle), ref ptCursor);
165
ReportInput(
_source
.Handle,
323
if(
_source
is null)
673
IntPtr hwndCurrent =
_source
.Handle;
727
if(lParam !=
_source
.Handle) // Ignore odd messages that claim we are losing capture to ourselves.
779
if(
_source
.HasCapture)
866
if(
_source
!= null && !
_source
.IsDisposed &&
_source
.CompositionTarget != null)
867
dispatcherHashCode =
_source
.CompositionTarget.Dispatcher.GetHashCode();
891
if (
_source
is null)
938
if (!stillActiveIfOverSelf && hwndToCheck ==
_source
.Handle)
980
ReportInput(
_source
.Handle,
1089
Assembly presentationFramework = GetPresentationFrameworkFromHwndSource(
_source
);
1185
Debug.Assert(
_source
is not null);
1193
if(hwndSource.Dispatcher ==
_source
.Dispatcher)
1230
Debug.Assert(
_source
is not null);
1231
if (
_source
is null)
1236
PresentationSource source =
_source
;
1389
int windowStyle = SafeNativeMethods.GetWindowStyle(new HandleRef(this,
_source
.Handle), true);
1394
SafeNativeMethods.GetClientRect(new HandleRef(this,
_source
.Handle), ref rcClient);
1444
currentPosition = PointUtil.ClientToScreen(currentPosition,
_source
);