1 type derived from TouchDevice
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
19
internal abstract class StylusTouchDeviceBase :
TouchDevice
69 references to TouchDevice
PresentationCore (69)
System\Windows\ContentElement.cs (13)
304
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
309
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
864
public bool CaptureTouch(
TouchDevice
touchDevice)
876
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
896
TouchDevice
.ReleaseAllCaptures(this);
902
public IEnumerable<
TouchDevice
> TouchesCaptured
906
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
913
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
917
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
925
public IEnumerable<
TouchDevice
> TouchesOver
929
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
937
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
941
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);
System\Windows\Input\TouchDevice.cs (23)
448
TouchDevice
touchDevice = _activeDevices[i];
480
TouchDevice
touchDevice = _activeDevices[i];
509
TouchDevice
thisRef = (
TouchDevice
)args;
596
TouchDevice
thisRef = (
TouchDevice
)args;
822
TouchDevice
touchDevice = _activeDevices[i];
851
TouchDevice
thisRef = (
TouchDevice
)args;
1133
private static void AddActiveDevice(
TouchDevice
device)
1137
_activeDevices = new List<
TouchDevice
>(2);
1143
private static void RemoveActiveDevice(
TouchDevice
device)
1159
TouchDevice
device = _activeDevices[i];
1171
TouchDevice
device = _activeDevices[0];
1188
TouchDevice
device = _activeDevices[i];
1197
internal static IEnumerable<
TouchDevice
> GetCapturedTouches(IInputElement element, bool includeWithin)
1202
internal static IEnumerable<
TouchDevice
> GetTouchesOver(IInputElement element, bool includeWithin)
1226
private static IEnumerable<
TouchDevice
> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture)
1228
List<
TouchDevice
> touches = new List<
TouchDevice
>();
1234
TouchDevice
device = _activeDevices[i];
1254
TouchDevice
device = _activeDevices[i];
1330
private static List<
TouchDevice
> _activeDevices;
System\Windows\Input\TouchEventArgs.cs (3)
17
public TouchEventArgs(
TouchDevice
touchDevice, int timestamp)
25
public
TouchDevice
TouchDevice
27
get { return (
TouchDevice
)Device; }
System\Windows\Input\TouchFrameEventArgs.cs (2)
44
return
TouchDevice
.GetTouchPoints(relativeTo);
54
return
TouchDevice
.GetPrimaryTouchPoint(relativeTo);
System\Windows\Input\TouchPoint.cs (2)
37
public TouchPoint(
TouchDevice
device, Point position, Rect bounds, TouchAction action)
50
public
TouchDevice
TouchDevice
System\Windows\UIElement.cs (13)
2411
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
2416
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
4570
public bool CaptureTouch(
TouchDevice
touchDevice)
4582
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
4602
TouchDevice
.ReleaseAllCaptures(this);
4608
public IEnumerable<
TouchDevice
> TouchesCaptured
4612
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
4619
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
4623
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
4631
public IEnumerable<
TouchDevice
> TouchesOver
4635
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
4643
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
4647
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);
System\Windows\UIElement3D.cs (13)
392
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
397
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
1470
public bool CaptureTouch(
TouchDevice
touchDevice)
1482
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
1502
TouchDevice
.ReleaseAllCaptures(this);
1508
public IEnumerable<
TouchDevice
> TouchesCaptured
1512
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
1519
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
1523
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
1531
public IEnumerable<
TouchDevice
> TouchesOver
1535
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
1543
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
1547
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);