1 type derived from TouchDevice
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
17
internal abstract class StylusTouchDeviceBase :
TouchDevice
69 references to TouchDevice
PresentationCore (69)
System\Windows\ContentElement.cs (13)
293
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
298
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
853
public bool CaptureTouch(
TouchDevice
touchDevice)
865
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
885
TouchDevice
.ReleaseAllCaptures(this);
891
public IEnumerable<
TouchDevice
> TouchesCaptured
895
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
902
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
906
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
914
public IEnumerable<
TouchDevice
> TouchesOver
918
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
926
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
930
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);
System\Windows\Input\TouchDevice.cs (23)
436
TouchDevice
touchDevice = _activeDevices[i];
468
TouchDevice
touchDevice = _activeDevices[i];
497
TouchDevice
thisRef = (
TouchDevice
)args;
584
TouchDevice
thisRef = (
TouchDevice
)args;
810
TouchDevice
touchDevice = _activeDevices[i];
839
TouchDevice
thisRef = (
TouchDevice
)args;
1123
private static void AddActiveDevice(
TouchDevice
device)
1127
_activeDevices = new List<
TouchDevice
>(2);
1133
private static void RemoveActiveDevice(
TouchDevice
device)
1149
TouchDevice
device = _activeDevices[i];
1161
TouchDevice
device = _activeDevices[0];
1178
TouchDevice
device = _activeDevices[i];
1187
internal static IEnumerable<
TouchDevice
> GetCapturedTouches(IInputElement element, bool includeWithin)
1192
internal static IEnumerable<
TouchDevice
> GetTouchesOver(IInputElement element, bool includeWithin)
1216
private static IEnumerable<
TouchDevice
> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture)
1218
List<
TouchDevice
> touches = new List<
TouchDevice
>();
1224
TouchDevice
device = _activeDevices[i];
1244
TouchDevice
device = _activeDevices[i];
1320
private static List<
TouchDevice
> _activeDevices;
System\Windows\Input\TouchEventArgs.cs (3)
12
public TouchEventArgs(
TouchDevice
touchDevice, int timestamp)
20
public
TouchDevice
TouchDevice
22
get { return (
TouchDevice
)Device; }
System\Windows\Input\TouchFrameEventArgs.cs (2)
40
return
TouchDevice
.GetTouchPoints(relativeTo);
50
return
TouchDevice
.GetPrimaryTouchPoint(relativeTo);
System\Windows\Input\TouchPoint.cs (2)
33
public TouchPoint(
TouchDevice
device, Point position, Rect bounds, TouchAction action)
46
public
TouchDevice
TouchDevice
System\Windows\UIElement.cs (13)
2398
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
2403
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
4557
public bool CaptureTouch(
TouchDevice
touchDevice)
4569
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
4589
TouchDevice
.ReleaseAllCaptures(this);
4595
public IEnumerable<
TouchDevice
> TouchesCaptured
4599
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
4606
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
4610
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
4618
public IEnumerable<
TouchDevice
> TouchesOver
4622
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
4630
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
4634
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);
System\Windows\UIElement3D.cs (13)
377
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
382
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
1455
public bool CaptureTouch(
TouchDevice
touchDevice)
1467
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
1487
TouchDevice
.ReleaseAllCaptures(this);
1493
public IEnumerable<
TouchDevice
> TouchesCaptured
1497
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
1504
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
1508
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
1516
public IEnumerable<
TouchDevice
> TouchesOver
1520
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
1528
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
1532
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);