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; 1121private static void AddActiveDevice(TouchDevice device) 1125_activeDevices = new List<TouchDevice>(2); 1131private static void RemoveActiveDevice(TouchDevice device) 1147TouchDevice device = _activeDevices[i]; 1159TouchDevice device = _activeDevices[0]; 1176TouchDevice device = _activeDevices[i]; 1185internal static IEnumerable<TouchDevice> GetCapturedTouches(IInputElement element, bool includeWithin) 1190internal static IEnumerable<TouchDevice> GetTouchesOver(IInputElement element, bool includeWithin) 1214private static IEnumerable<TouchDevice> GetCapturedOrOverTouches(IInputElement element, bool includeWithin, bool isCapture) 1216List<TouchDevice> touches = new List<TouchDevice>(); 1222TouchDevice device = _activeDevices[i]; 1242TouchDevice device = _activeDevices[i]; 1318private 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)
2406TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 2411TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 4565public bool CaptureTouch(TouchDevice touchDevice) 4577public bool ReleaseTouchCapture(TouchDevice touchDevice) 4597TouchDevice.ReleaseAllCaptures(this); 4603public IEnumerable<TouchDevice> TouchesCaptured 4607return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ false); 4614public IEnumerable<TouchDevice> TouchesCapturedWithin 4618return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ true); 4626public IEnumerable<TouchDevice> TouchesOver 4630return TouchDevice.GetTouchesOver(this, /* includeWithin = */ true); 4638public IEnumerable<TouchDevice> TouchesDirectlyOver 4642return TouchDevice.GetTouchesOver(this, /* includeWithin = */ false);
System\Windows\UIElement3D.cs (13)
377TouchDevice.ReevaluateDirectlyOver(this, oldParent, isCoreParent); 382TouchDevice.ReevaluateCapturedWithin(this, oldParent, isCoreParent); 1455public bool CaptureTouch(TouchDevice touchDevice) 1467public bool ReleaseTouchCapture(TouchDevice touchDevice) 1487TouchDevice.ReleaseAllCaptures(this); 1493public IEnumerable<TouchDevice> TouchesCaptured 1497return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ false); 1504public IEnumerable<TouchDevice> TouchesCapturedWithin 1508return TouchDevice.GetCapturedTouches(this, /* includeWithin = */ true); 1516public IEnumerable<TouchDevice> TouchesOver 1520return TouchDevice.GetTouchesOver(this, /* includeWithin = */ true); 1528public IEnumerable<TouchDevice> TouchesDirectlyOver 1532return TouchDevice.GetTouchesOver(this, /* includeWithin = */ false);