63 references to TouchDevice
PresentationCore (63)
Core\CSharp\System\Windows\ContentElement.cs (13)
310
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
315
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
870
public bool CaptureTouch(
TouchDevice
touchDevice)
885
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
908
TouchDevice
.ReleaseAllCaptures(this);
914
public IEnumerable<
TouchDevice
> TouchesCaptured
918
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
925
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
929
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
937
public IEnumerable<
TouchDevice
> TouchesOver
941
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
949
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
953
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);
Core\CSharp\System\Windows\Input\TouchDevice.cs (17)
487
TouchDevice
touchDevice = _activeDevices[i];
519
TouchDevice
touchDevice = _activeDevices[i];
888
TouchDevice
touchDevice = _activeDevices[i];
1222
private static void AddActiveDevice(
TouchDevice
device)
1226
_activeDevices = new List<
TouchDevice
>(2);
1232
private static void RemoveActiveDevice(
TouchDevice
device)
1248
TouchDevice
device = _activeDevices[i];
1260
TouchDevice
device = _activeDevices[0];
1277
TouchDevice
device = _activeDevices[i];
1286
internal static IEnumerable<
TouchDevice
> GetCapturedTouches(IInputElement element, bool includeWithin)
1291
internal static IEnumerable<
TouchDevice
> GetTouchesOver(IInputElement element, bool includeWithin)
1315
private static IEnumerable<
TouchDevice
> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture)
1317
List<
TouchDevice
> touches = new List<
TouchDevice
>();
1323
TouchDevice
device = _activeDevices[i];
1343
TouchDevice
device = _activeDevices[i];
1436
private static List<
TouchDevice
> _activeDevices;
Core\CSharp\System\Windows\Input\TouchEventArgs.cs (3)
16
public TouchEventArgs(
TouchDevice
touchDevice, int timestamp)
24
public
TouchDevice
TouchDevice
26
get { return (
TouchDevice
)Device; }
Core\CSharp\System\Windows\Input\TouchFrameEventArgs.cs (2)
43
return
TouchDevice
.GetTouchPoints(relativeTo);
53
return
TouchDevice
.GetPrimaryTouchPoint(relativeTo);
Core\CSharp\System\Windows\Input\TouchPoint.cs (2)
36
public TouchPoint(
TouchDevice
device, Point position, Rect bounds, TouchAction action)
52
public
TouchDevice
TouchDevice
Core\CSharp\System\Windows\UIElement.cs (13)
2440
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
2445
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
4613
public bool CaptureTouch(
TouchDevice
touchDevice)
4628
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
4651
TouchDevice
.ReleaseAllCaptures(this);
4657
public IEnumerable<
TouchDevice
> TouchesCaptured
4661
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
4668
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
4672
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
4680
public IEnumerable<
TouchDevice
> TouchesOver
4684
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
4692
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
4696
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);
Core\CSharp\System\Windows\UIElement3D.cs (13)
400
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
405
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
1484
public bool CaptureTouch(
TouchDevice
touchDevice)
1499
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
1522
TouchDevice
.ReleaseAllCaptures(this);
1528
public IEnumerable<
TouchDevice
> TouchesCaptured
1532
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
1539
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
1543
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
1551
public IEnumerable<
TouchDevice
> TouchesOver
1555
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
1563
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
1567
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);