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