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)
306
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
311
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
866
public bool CaptureTouch(
TouchDevice
touchDevice)
878
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
898
TouchDevice
.ReleaseAllCaptures(this);
904
public IEnumerable<
TouchDevice
> TouchesCaptured
908
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
915
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
919
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
927
public IEnumerable<
TouchDevice
> TouchesOver
931
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
939
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
943
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)
2414
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
2419
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
4576
public bool CaptureTouch(
TouchDevice
touchDevice)
4588
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
4608
TouchDevice
.ReleaseAllCaptures(this);
4614
public IEnumerable<
TouchDevice
> TouchesCaptured
4618
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
4625
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
4629
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
4637
public IEnumerable<
TouchDevice
> TouchesOver
4641
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
4649
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
4653
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);
System\Windows\UIElement3D.cs (13)
393
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
398
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
1471
public bool CaptureTouch(
TouchDevice
touchDevice)
1483
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
1503
TouchDevice
.ReleaseAllCaptures(this);
1509
public IEnumerable<
TouchDevice
> TouchesCaptured
1513
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
1520
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
1524
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
1532
public IEnumerable<
TouchDevice
> TouchesOver
1536
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
1544
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
1548
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);