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;
1121
private static void AddActiveDevice(
TouchDevice
device)
1125
_activeDevices = new List<
TouchDevice
>(2);
1131
private static void RemoveActiveDevice(
TouchDevice
device)
1147
TouchDevice
device = _activeDevices[i];
1159
TouchDevice
device = _activeDevices[0];
1176
TouchDevice
device = _activeDevices[i];
1185
internal static IEnumerable<
TouchDevice
> GetCapturedTouches(IInputElement element, bool includeWithin)
1190
internal static IEnumerable<
TouchDevice
> GetTouchesOver(IInputElement element, bool includeWithin)
1214
private static IEnumerable<
TouchDevice
> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture)
1216
List<
TouchDevice
> touches = new List<
TouchDevice
>();
1222
TouchDevice
device = _activeDevices[i];
1242
TouchDevice
device = _activeDevices[i];
1318
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)
2406
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
2411
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
4565
public bool CaptureTouch(
TouchDevice
touchDevice)
4577
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
4597
TouchDevice
.ReleaseAllCaptures(this);
4603
public IEnumerable<
TouchDevice
> TouchesCaptured
4607
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
4614
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
4618
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
4626
public IEnumerable<
TouchDevice
> TouchesOver
4630
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
4638
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
4642
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);
System\Windows\UIElement3D.cs (13)
377
TouchDevice
.ReevaluateDirectlyOver(this, oldParent, isCoreParent);
382
TouchDevice
.ReevaluateCapturedWithin(this, oldParent, isCoreParent);
1455
public bool CaptureTouch(
TouchDevice
touchDevice)
1467
public bool ReleaseTouchCapture(
TouchDevice
touchDevice)
1487
TouchDevice
.ReleaseAllCaptures(this);
1493
public IEnumerable<
TouchDevice
> TouchesCaptured
1497
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ false);
1504
public IEnumerable<
TouchDevice
> TouchesCapturedWithin
1508
return
TouchDevice
.GetCapturedTouches(this, /* includeWithin = */ true);
1516
public IEnumerable<
TouchDevice
> TouchesOver
1520
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ true);
1528
public IEnumerable<
TouchDevice
> TouchesDirectlyOver
1532
return
TouchDevice
.GetTouchesOver(this, /* includeWithin = */ false);