1 type derived from TouchDevice
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
16internal abstract class StylusTouchDeviceBase : TouchDevice
69 references to TouchDevice
PresentationCore (69)
System\Windows\ContentElement.cs (13)
292TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 297TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 852public bool CaptureTouch(TouchDevice touchDevice) 864public bool ReleaseTouchCapture(TouchDevice touchDevice) 884TouchDevice.ReleaseAllCaptures(this); 890public IEnumerable<TouchDevice> TouchesCaptured 894return TouchDevice.GetCapturedTouches(this, includeWithin: false); 901public IEnumerable<TouchDevice> TouchesCapturedWithin 905return TouchDevice.GetCapturedTouches(this, includeWithin: true); 913public IEnumerable<TouchDevice> TouchesOver 917return TouchDevice.GetTouchesOver(this, includeWithin: true); 925public IEnumerable<TouchDevice> TouchesDirectlyOver 929return TouchDevice.GetTouchesOver(this, includeWithin: false);
System\Windows\Input\TouchDevice.cs (23)
435TouchDevice touchDevice = _activeDevices[i]; 467TouchDevice touchDevice = _activeDevices[i]; 496TouchDevice thisRef = (TouchDevice)args; 583TouchDevice thisRef = (TouchDevice)args; 809TouchDevice touchDevice = _activeDevices[i]; 838TouchDevice thisRef = (TouchDevice)args; 1122private static void AddActiveDevice(TouchDevice device) 1126_activeDevices = new List<TouchDevice>(2); 1132private static void RemoveActiveDevice(TouchDevice device) 1145TouchDevice device = _activeDevices[i]; 1157TouchDevice device = _activeDevices[0]; 1174TouchDevice device = _activeDevices[i]; 1183internal static IEnumerable<TouchDevice> GetCapturedTouches(IInputElement element, bool includeWithin) 1188internal static IEnumerable<TouchDevice> GetTouchesOver(IInputElement element, bool includeWithin) 1212private static IEnumerable<TouchDevice> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture) 1214List<TouchDevice> touches = new List<TouchDevice>(); 1220TouchDevice device = _activeDevices[i]; 1240TouchDevice device = _activeDevices[i]; 1316private static List<TouchDevice> _activeDevices;
System\Windows\Input\TouchEventArgs.cs (3)
11public TouchEventArgs(TouchDevice touchDevice, int timestamp) 19public TouchDevice TouchDevice 21get { return (TouchDevice)Device; }
System\Windows\Input\TouchFrameEventArgs.cs (2)
39return TouchDevice.GetTouchPoints(relativeTo); 49return TouchDevice.GetPrimaryTouchPoint(relativeTo);
System\Windows\Input\TouchPoint.cs (2)
32public TouchPoint(TouchDevice device, Point position, Rect bounds, TouchAction action) 45public TouchDevice TouchDevice
System\Windows\UIElement.cs (13)
2397TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 2402TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 4549public bool CaptureTouch(TouchDevice touchDevice) 4561public bool ReleaseTouchCapture(TouchDevice touchDevice) 4581TouchDevice.ReleaseAllCaptures(this); 4587public IEnumerable<TouchDevice> TouchesCaptured 4591return TouchDevice.GetCapturedTouches(this, includeWithin: false); 4598public IEnumerable<TouchDevice> TouchesCapturedWithin 4602return TouchDevice.GetCapturedTouches(this, includeWithin: true); 4610public IEnumerable<TouchDevice> TouchesOver 4614return TouchDevice.GetTouchesOver(this, includeWithin: true); 4622public IEnumerable<TouchDevice> TouchesDirectlyOver 4626return TouchDevice.GetTouchesOver(this, includeWithin: false);
System\Windows\UIElement3D.cs (13)
376TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 381TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 1453public bool CaptureTouch(TouchDevice touchDevice) 1465public bool ReleaseTouchCapture(TouchDevice touchDevice) 1485TouchDevice.ReleaseAllCaptures(this); 1491public IEnumerable<TouchDevice> TouchesCaptured 1495return TouchDevice.GetCapturedTouches(this, includeWithin: false); 1502public IEnumerable<TouchDevice> TouchesCapturedWithin 1506return TouchDevice.GetCapturedTouches(this, includeWithin: true); 1514public IEnumerable<TouchDevice> TouchesOver 1518return TouchDevice.GetTouchesOver(this, includeWithin: true); 1526public IEnumerable<TouchDevice> TouchesDirectlyOver 1530return TouchDevice.GetTouchesOver(this, includeWithin: false);