1 type derived from TouchDevice
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
17internal abstract class StylusTouchDeviceBase : TouchDevice
69 references to TouchDevice
PresentationCore (69)
System\Windows\ContentElement.cs (13)
293TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 298TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 853public bool CaptureTouch(TouchDevice touchDevice) 865public bool ReleaseTouchCapture(TouchDevice touchDevice) 885TouchDevice.ReleaseAllCaptures(this); 891public IEnumerable<TouchDevice> TouchesCaptured 895return TouchDevice.GetCapturedTouches(this, includeWithin: false); 902public IEnumerable<TouchDevice> TouchesCapturedWithin 906return TouchDevice.GetCapturedTouches(this, includeWithin: true); 914public IEnumerable<TouchDevice> TouchesOver 918return TouchDevice.GetTouchesOver(this, includeWithin: true); 926public IEnumerable<TouchDevice> TouchesDirectlyOver 930return TouchDevice.GetTouchesOver(this, includeWithin: false);
System\Windows\Input\TouchDevice.cs (23)
436TouchDevice touchDevice = _activeDevices[i]; 468TouchDevice touchDevice = _activeDevices[i]; 497TouchDevice thisRef = (TouchDevice)args; 584TouchDevice thisRef = (TouchDevice)args; 810TouchDevice touchDevice = _activeDevices[i]; 839TouchDevice thisRef = (TouchDevice)args; 1123private static void AddActiveDevice(TouchDevice device) 1127_activeDevices = new List<TouchDevice>(2); 1133private static void RemoveActiveDevice(TouchDevice device) 1146TouchDevice device = _activeDevices[i]; 1158TouchDevice device = _activeDevices[0]; 1175TouchDevice device = _activeDevices[i]; 1184internal static IEnumerable<TouchDevice> GetCapturedTouches(IInputElement element, bool includeWithin) 1189internal static IEnumerable<TouchDevice> GetTouchesOver(IInputElement element, bool includeWithin) 1213private static IEnumerable<TouchDevice> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture) 1215List<TouchDevice> touches = new List<TouchDevice>(); 1221TouchDevice device = _activeDevices[i]; 1241TouchDevice device = _activeDevices[i]; 1317private static List<TouchDevice> _activeDevices;
System\Windows\Input\TouchEventArgs.cs (3)
12public TouchEventArgs(TouchDevice touchDevice, int timestamp) 20public TouchDevice TouchDevice 22get { return (TouchDevice)Device; }
System\Windows\Input\TouchFrameEventArgs.cs (2)
40return TouchDevice.GetTouchPoints(relativeTo); 50return TouchDevice.GetPrimaryTouchPoint(relativeTo);
System\Windows\Input\TouchPoint.cs (2)
33public TouchPoint(TouchDevice device, Point position, Rect bounds, TouchAction action) 46public TouchDevice TouchDevice
System\Windows\UIElement.cs (13)
2398TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 2403TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 4550public bool CaptureTouch(TouchDevice touchDevice) 4562public bool ReleaseTouchCapture(TouchDevice touchDevice) 4582TouchDevice.ReleaseAllCaptures(this); 4588public IEnumerable<TouchDevice> TouchesCaptured 4592return TouchDevice.GetCapturedTouches(this, includeWithin: false); 4599public IEnumerable<TouchDevice> TouchesCapturedWithin 4603return TouchDevice.GetCapturedTouches(this, includeWithin: true); 4611public IEnumerable<TouchDevice> TouchesOver 4615return TouchDevice.GetTouchesOver(this, includeWithin: true); 4623public IEnumerable<TouchDevice> TouchesDirectlyOver 4627return TouchDevice.GetTouchesOver(this, includeWithin: false);
System\Windows\UIElement3D.cs (13)
377TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 382TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 1454public bool CaptureTouch(TouchDevice touchDevice) 1466public bool ReleaseTouchCapture(TouchDevice touchDevice) 1486TouchDevice.ReleaseAllCaptures(this); 1492public IEnumerable<TouchDevice> TouchesCaptured 1496return TouchDevice.GetCapturedTouches(this, includeWithin: false); 1503public IEnumerable<TouchDevice> TouchesCapturedWithin 1507return TouchDevice.GetCapturedTouches(this, includeWithin: true); 1515public IEnumerable<TouchDevice> TouchesOver 1519return TouchDevice.GetTouchesOver(this, includeWithin: true); 1527public IEnumerable<TouchDevice> TouchesDirectlyOver 1531return TouchDevice.GetTouchesOver(this, includeWithin: false);