63 references to TouchDevice
PresentationCore (63)
Core\CSharp\System\Windows\ContentElement.cs (13)
310TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 315TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 870public bool CaptureTouch(TouchDevice touchDevice) 885public bool ReleaseTouchCapture(TouchDevice touchDevice) 908TouchDevice.ReleaseAllCaptures(this); 914public IEnumerable<TouchDevice> TouchesCaptured 918return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ false); 925public IEnumerable<TouchDevice> TouchesCapturedWithin 929return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ true); 937public IEnumerable<TouchDevice> TouchesOver 941return TouchDevice.GetTouchesOver(this, /* includeWithin = */ true); 949public IEnumerable<TouchDevice> TouchesDirectlyOver 953return TouchDevice.GetTouchesOver(this, /* includeWithin = */ false);
Core\CSharp\System\Windows\Input\TouchDevice.cs (17)
487TouchDevice touchDevice = _activeDevices[i]; 519TouchDevice touchDevice = _activeDevices[i]; 888TouchDevice touchDevice = _activeDevices[i]; 1222private static void AddActiveDevice(TouchDevice device) 1226_activeDevices = new List<TouchDevice>(2); 1232private static void RemoveActiveDevice(TouchDevice device) 1248TouchDevice device = _activeDevices[i]; 1260TouchDevice device = _activeDevices[0]; 1277TouchDevice device = _activeDevices[i]; 1286internal static IEnumerable<TouchDevice> GetCapturedTouches(IInputElement element, bool includeWithin) 1291internal static IEnumerable<TouchDevice> GetTouchesOver(IInputElement element, bool includeWithin) 1315private static IEnumerable<TouchDevice> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture) 1317List<TouchDevice> touches = new List<TouchDevice>(); 1323TouchDevice device = _activeDevices[i]; 1343TouchDevice device = _activeDevices[i]; 1436private static List<TouchDevice> _activeDevices;
Core\CSharp\System\Windows\Input\TouchEventArgs.cs (3)
16public TouchEventArgs(TouchDevice touchDevice, int timestamp) 24public TouchDevice TouchDevice 26get { return (TouchDevice)Device; }
Core\CSharp\System\Windows\Input\TouchFrameEventArgs.cs (2)
43return TouchDevice.GetTouchPoints(relativeTo); 53return TouchDevice.GetPrimaryTouchPoint(relativeTo);
Core\CSharp\System\Windows\Input\TouchPoint.cs (2)
36public TouchPoint(TouchDevice device, Point position, Rect bounds, TouchAction action) 52public TouchDevice TouchDevice
Core\CSharp\System\Windows\UIElement.cs (13)
2440TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 2445TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 4613public bool CaptureTouch(TouchDevice touchDevice) 4628public bool ReleaseTouchCapture(TouchDevice touchDevice) 4651TouchDevice.ReleaseAllCaptures(this); 4657public IEnumerable<TouchDevice> TouchesCaptured 4661return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ false); 4668public IEnumerable<TouchDevice> TouchesCapturedWithin 4672return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ true); 4680public IEnumerable<TouchDevice> TouchesOver 4684return TouchDevice.GetTouchesOver(this, /* includeWithin = */ true); 4692public IEnumerable<TouchDevice> TouchesDirectlyOver 4696return TouchDevice.GetTouchesOver(this, /* includeWithin = */ false);
Core\CSharp\System\Windows\UIElement3D.cs (13)
400TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 405TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 1484public bool CaptureTouch(TouchDevice touchDevice) 1499public bool ReleaseTouchCapture(TouchDevice touchDevice) 1522TouchDevice.ReleaseAllCaptures(this); 1528public IEnumerable<TouchDevice> TouchesCaptured 1532return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ false); 1539public IEnumerable<TouchDevice> TouchesCapturedWithin 1543return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ true); 1551public IEnumerable<TouchDevice> TouchesOver 1555return TouchDevice.GetTouchesOver(this, /* includeWithin = */ true); 1563public IEnumerable<TouchDevice> TouchesDirectlyOver 1567return TouchDevice.GetTouchesOver(this, /* includeWithin = */ false);