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)
1146
TouchDevice
device = _activeDevices[i];
1158
TouchDevice
device = _activeDevices[0];
1175
TouchDevice
device = _activeDevices[i];
1184
internal static IEnumerable<
TouchDevice
> GetCapturedTouches(IInputElement element, bool includeWithin)
1189
internal static IEnumerable<
TouchDevice
> GetTouchesOver(IInputElement element, bool includeWithin)
1213
private static IEnumerable<
TouchDevice
> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture)
1215
List<
TouchDevice
> touches = new List<
TouchDevice
>();
1221
TouchDevice
device = _activeDevices[i];
1241
TouchDevice
device = _activeDevices[i];
1317
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);
4550
public bool CaptureTouch(
TouchDevice
touchDevice)
4562
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
4582
TouchDevice
.ReleaseAllCaptures(this);
4588
public IEnumerable<
TouchDevice
> TouchesCaptured
4592
return
TouchDevice
.GetCapturedTouches(this, includeWithin: false);
4599
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
4603
return
TouchDevice
.GetCapturedTouches(this, includeWithin: true);
4611
public IEnumerable<
TouchDevice
> TouchesOver
4615
return
TouchDevice
.GetTouchesOver(this, includeWithin: true);
4623
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
4627
return
TouchDevice
.GetTouchesOver(this, includeWithin: false);
System\Windows\UIElement3D.cs (13)
377
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
382
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
1454
public bool CaptureTouch(
TouchDevice
touchDevice)
1466
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
1486
TouchDevice
.ReleaseAllCaptures(this);
1492
public IEnumerable<
TouchDevice
> TouchesCaptured
1496
return
TouchDevice
.GetCapturedTouches(this, includeWithin: false);
1503
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
1507
return
TouchDevice
.GetCapturedTouches(this, includeWithin: true);
1515
public IEnumerable<
TouchDevice
> TouchesOver
1519
return
TouchDevice
.GetTouchesOver(this, includeWithin: true);
1527
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
1531
return
TouchDevice
.GetTouchesOver(this, includeWithin: false);