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)
306TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 311TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 866public bool CaptureTouch(TouchDevice touchDevice) 878public bool ReleaseTouchCapture(TouchDevice touchDevice) 898TouchDevice.ReleaseAllCaptures(this); 904public IEnumerable<TouchDevice> TouchesCaptured 908return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ false); 915public IEnumerable<TouchDevice> TouchesCapturedWithin 919return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ true); 927public IEnumerable<TouchDevice> TouchesOver 931return TouchDevice.GetTouchesOver(this, /* includeWithin = */ true); 939public IEnumerable<TouchDevice> TouchesDirectlyOver 943return 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)
2414TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 2419TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 4576public bool CaptureTouch(TouchDevice touchDevice) 4588public bool ReleaseTouchCapture(TouchDevice touchDevice) 4608TouchDevice.ReleaseAllCaptures(this); 4614public IEnumerable<TouchDevice> TouchesCaptured 4618return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ false); 4625public IEnumerable<TouchDevice> TouchesCapturedWithin 4629return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ true); 4637public IEnumerable<TouchDevice> TouchesOver 4641return TouchDevice.GetTouchesOver(this, /* includeWithin = */ true); 4649public IEnumerable<TouchDevice> TouchesDirectlyOver 4653return TouchDevice.GetTouchesOver(this, /* includeWithin = */ false);
System\Windows\UIElement3D.cs (13)
393TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 398TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 1471public bool CaptureTouch(TouchDevice touchDevice) 1483public bool ReleaseTouchCapture(TouchDevice touchDevice) 1503TouchDevice.ReleaseAllCaptures(this); 1509public IEnumerable<TouchDevice> TouchesCaptured 1513return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ false); 1520public IEnumerable<TouchDevice> TouchesCapturedWithin 1524return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ true); 1532public IEnumerable<TouchDevice> TouchesOver 1536return TouchDevice.GetTouchesOver(this, /* includeWithin = */ true); 1544public IEnumerable<TouchDevice> TouchesDirectlyOver 1548return TouchDevice.GetTouchesOver(this, /* includeWithin = */ false);