1 type derived from TouchDevice
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
16
internal abstract class StylusTouchDeviceBase :
TouchDevice
69 references to TouchDevice
PresentationCore (69)
System\Windows\ContentElement.cs (13)
292
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
297
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
852
public bool CaptureTouch(
TouchDevice
touchDevice)
864
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
884
TouchDevice
.ReleaseAllCaptures(this);
890
public IEnumerable<
TouchDevice
> TouchesCaptured
894
return
TouchDevice
.GetCapturedTouches(this, includeWithin: false);
901
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
905
return
TouchDevice
.GetCapturedTouches(this, includeWithin: true);
913
public IEnumerable<
TouchDevice
> TouchesOver
917
return
TouchDevice
.GetTouchesOver(this, includeWithin: true);
925
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
929
return
TouchDevice
.GetTouchesOver(this, includeWithin: false);
System\Windows\Input\TouchDevice.cs (23)
435
TouchDevice
touchDevice = _activeDevices[i];
467
TouchDevice
touchDevice = _activeDevices[i];
496
TouchDevice
thisRef = (
TouchDevice
)args;
583
TouchDevice
thisRef = (
TouchDevice
)args;
809
TouchDevice
touchDevice = _activeDevices[i];
838
TouchDevice
thisRef = (
TouchDevice
)args;
1122
private static void AddActiveDevice(
TouchDevice
device)
1126
_activeDevices = new List<
TouchDevice
>(2);
1132
private static void RemoveActiveDevice(
TouchDevice
device)
1145
TouchDevice
device = _activeDevices[i];
1157
TouchDevice
device = _activeDevices[0];
1174
TouchDevice
device = _activeDevices[i];
1183
internal static IEnumerable<
TouchDevice
> GetCapturedTouches(IInputElement element, bool includeWithin)
1188
internal static IEnumerable<
TouchDevice
> GetTouchesOver(IInputElement element, bool includeWithin)
1212
private static IEnumerable<
TouchDevice
> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture)
1214
List<
TouchDevice
> touches = new List<
TouchDevice
>();
1220
TouchDevice
device = _activeDevices[i];
1240
TouchDevice
device = _activeDevices[i];
1316
private static List<
TouchDevice
> _activeDevices;
System\Windows\Input\TouchEventArgs.cs (3)
11
public TouchEventArgs(
TouchDevice
touchDevice, int timestamp)
19
public
TouchDevice
TouchDevice
21
get { return (
TouchDevice
)Device; }
System\Windows\Input\TouchFrameEventArgs.cs (2)
39
return
TouchDevice
.GetTouchPoints(relativeTo);
49
return
TouchDevice
.GetPrimaryTouchPoint(relativeTo);
System\Windows\Input\TouchPoint.cs (2)
32
public TouchPoint(
TouchDevice
device, Point position, Rect bounds, TouchAction action)
45
public
TouchDevice
TouchDevice
System\Windows\UIElement.cs (13)
2397
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
2402
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
4549
public bool CaptureTouch(
TouchDevice
touchDevice)
4561
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
4581
TouchDevice
.ReleaseAllCaptures(this);
4587
public IEnumerable<
TouchDevice
> TouchesCaptured
4591
return
TouchDevice
.GetCapturedTouches(this, includeWithin: false);
4598
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
4602
return
TouchDevice
.GetCapturedTouches(this, includeWithin: true);
4610
public IEnumerable<
TouchDevice
> TouchesOver
4614
return
TouchDevice
.GetTouchesOver(this, includeWithin: true);
4622
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
4626
return
TouchDevice
.GetTouchesOver(this, includeWithin: false);
System\Windows\UIElement3D.cs (13)
376
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
381
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
1453
public bool CaptureTouch(
TouchDevice
touchDevice)
1465
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
1485
TouchDevice
.ReleaseAllCaptures(this);
1491
public IEnumerable<
TouchDevice
> TouchesCaptured
1495
return
TouchDevice
.GetCapturedTouches(this, includeWithin: false);
1502
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
1506
return
TouchDevice
.GetCapturedTouches(this, includeWithin: true);
1514
public IEnumerable<
TouchDevice
> TouchesOver
1518
return
TouchDevice
.GetTouchesOver(this, includeWithin: true);
1526
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
1530
return
TouchDevice
.GetTouchesOver(this, includeWithin: false);