1 instantiation of TouchEventArgs
PresentationCore (1)
System\Windows\Input\TouchDevice.cs (1)
940TouchEventArgs touchEventArgs = new TouchEventArgs(this, Environment.TickCount);
103 references to TouchEventArgs
PresentationCore (103)
System\Windows\Generated\ContentElement.cs (20)
2057public event EventHandler<TouchEventArgs> PreviewTouchDown 2066protected internal virtual void OnPreviewTouchDown(TouchEventArgs e) {} 2077public event EventHandler<TouchEventArgs> TouchDown 2086protected internal virtual void OnTouchDown(TouchEventArgs e) {} 2097public event EventHandler<TouchEventArgs> PreviewTouchMove 2106protected internal virtual void OnPreviewTouchMove(TouchEventArgs e) {} 2117public event EventHandler<TouchEventArgs> TouchMove 2126protected internal virtual void OnTouchMove(TouchEventArgs e) {} 2137public event EventHandler<TouchEventArgs> PreviewTouchUp 2146protected internal virtual void OnPreviewTouchUp(TouchEventArgs e) {} 2157public event EventHandler<TouchEventArgs> TouchUp 2166protected internal virtual void OnTouchUp(TouchEventArgs e) {} 2177public event EventHandler<TouchEventArgs> GotTouchCapture 2186protected internal virtual void OnGotTouchCapture(TouchEventArgs e) {} 2197public event EventHandler<TouchEventArgs> LostTouchCapture 2206protected internal virtual void OnLostTouchCapture(TouchEventArgs e) {} 2217public event EventHandler<TouchEventArgs> TouchEnter 2226protected internal virtual void OnTouchEnter(TouchEventArgs e) {} 2237public event EventHandler<TouchEventArgs> TouchLeave 2246protected internal virtual void OnTouchLeave(TouchEventArgs e) {}
System\Windows\Generated\UIElement.cs (40)
806EventManager.RegisterClassHandler(type, Touch.PreviewTouchDownEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchDownThunk), false); 807EventManager.RegisterClassHandler(type, Touch.TouchDownEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchDownThunk), false); 808EventManager.RegisterClassHandler(type, Touch.PreviewTouchMoveEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchMoveThunk), false); 809EventManager.RegisterClassHandler(type, Touch.TouchMoveEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchMoveThunk), false); 810EventManager.RegisterClassHandler(type, Touch.PreviewTouchUpEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchUpThunk), false); 811EventManager.RegisterClassHandler(type, Touch.TouchUpEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchUpThunk), false); 812EventManager.RegisterClassHandler(type, Touch.GotTouchCaptureEvent, new EventHandler<TouchEventArgs>(UIElement.OnGotTouchCaptureThunk), false); 813EventManager.RegisterClassHandler(type, Touch.LostTouchCaptureEvent, new EventHandler<TouchEventArgs>(UIElement.OnLostTouchCaptureThunk), false); 814EventManager.RegisterClassHandler(type, Touch.TouchEnterEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchEnterThunk), false); 815EventManager.RegisterClassHandler(type, Touch.TouchLeaveEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchLeaveThunk), false); 2516private static void OnPreviewTouchDownThunk(object sender, TouchEventArgs e) 2541private static void OnTouchDownThunk(object sender, TouchEventArgs e) 2566private static void OnPreviewTouchMoveThunk(object sender, TouchEventArgs e) 2591private static void OnTouchMoveThunk(object sender, TouchEventArgs e) 2616private static void OnPreviewTouchUpThunk(object sender, TouchEventArgs e) 2641private static void OnTouchUpThunk(object sender, TouchEventArgs e) 2666private static void OnGotTouchCaptureThunk(object sender, TouchEventArgs e) 2691private static void OnLostTouchCaptureThunk(object sender, TouchEventArgs e) 2716private static void OnTouchEnterThunk(object sender, TouchEventArgs e) 2741private static void OnTouchLeaveThunk(object sender, TouchEventArgs e) 4010public event EventHandler<TouchEventArgs> PreviewTouchDown 4019protected virtual void OnPreviewTouchDown(TouchEventArgs e) {} 4030public event EventHandler<TouchEventArgs> TouchDown 4039protected virtual void OnTouchDown(TouchEventArgs e) {} 4050public event EventHandler<TouchEventArgs> PreviewTouchMove 4059protected virtual void OnPreviewTouchMove(TouchEventArgs e) {} 4070public event EventHandler<TouchEventArgs> TouchMove 4079protected virtual void OnTouchMove(TouchEventArgs e) {} 4090public event EventHandler<TouchEventArgs> PreviewTouchUp 4099protected virtual void OnPreviewTouchUp(TouchEventArgs e) {} 4110public event EventHandler<TouchEventArgs> TouchUp 4119protected virtual void OnTouchUp(TouchEventArgs e) {} 4130public event EventHandler<TouchEventArgs> GotTouchCapture 4139protected virtual void OnGotTouchCapture(TouchEventArgs e) {} 4150public event EventHandler<TouchEventArgs> LostTouchCapture 4159protected virtual void OnLostTouchCapture(TouchEventArgs e) {} 4170public event EventHandler<TouchEventArgs> TouchEnter 4179protected virtual void OnTouchEnter(TouchEventArgs e) {} 4190public event EventHandler<TouchEventArgs> TouchLeave 4199protected virtual void OnTouchLeave(TouchEventArgs e) {}
System\Windows\Generated\UIElement3D.cs (20)
1776public event EventHandler<TouchEventArgs> PreviewTouchDown 1785protected internal virtual void OnPreviewTouchDown(TouchEventArgs e) {} 1796public event EventHandler<TouchEventArgs> TouchDown 1805protected internal virtual void OnTouchDown(TouchEventArgs e) {} 1816public event EventHandler<TouchEventArgs> PreviewTouchMove 1825protected internal virtual void OnPreviewTouchMove(TouchEventArgs e) {} 1836public event EventHandler<TouchEventArgs> TouchMove 1845protected internal virtual void OnTouchMove(TouchEventArgs e) {} 1856public event EventHandler<TouchEventArgs> PreviewTouchUp 1865protected internal virtual void OnPreviewTouchUp(TouchEventArgs e) {} 1876public event EventHandler<TouchEventArgs> TouchUp 1885protected internal virtual void OnTouchUp(TouchEventArgs e) {} 1896public event EventHandler<TouchEventArgs> GotTouchCapture 1905protected internal virtual void OnGotTouchCapture(TouchEventArgs e) {} 1916public event EventHandler<TouchEventArgs> LostTouchCapture 1925protected internal virtual void OnLostTouchCapture(TouchEventArgs e) {} 1936public event EventHandler<TouchEventArgs> TouchEnter 1945protected internal virtual void OnTouchEnter(TouchEventArgs e) {} 1956public event EventHandler<TouchEventArgs> TouchLeave 1965protected internal virtual void OnTouchLeave(TouchEventArgs e) {}
System\Windows\Input\Touch.cs (10)
12internal static readonly RoutedEvent PreviewTouchDownEvent = EventManager.RegisterRoutedEvent("PreviewTouchDown", RoutingStrategy.Tunnel, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 13internal static readonly RoutedEvent TouchDownEvent = EventManager.RegisterRoutedEvent("TouchDown", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 15internal static readonly RoutedEvent PreviewTouchMoveEvent = EventManager.RegisterRoutedEvent("PreviewTouchMove", RoutingStrategy.Tunnel, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 16internal static readonly RoutedEvent TouchMoveEvent = EventManager.RegisterRoutedEvent("TouchMove", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 18internal static readonly RoutedEvent PreviewTouchUpEvent = EventManager.RegisterRoutedEvent("PreviewTouchUp", RoutingStrategy.Tunnel, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 19internal static readonly RoutedEvent TouchUpEvent = EventManager.RegisterRoutedEvent("TouchUp", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 21internal static readonly RoutedEvent GotTouchCaptureEvent = EventManager.RegisterRoutedEvent("GotTouchCapture", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 22internal static readonly RoutedEvent LostTouchCaptureEvent = EventManager.RegisterRoutedEvent("LostTouchCapture", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 24internal static readonly RoutedEvent TouchEnterEvent = EventManager.RegisterRoutedEvent("TouchEnter", RoutingStrategy.Direct, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 25internal static readonly RoutedEvent TouchLeaveEvent = EventManager.RegisterRoutedEvent("TouchLeave", RoutingStrategy.Direct, typeof(EventHandler<TouchEventArgs>), typeof(Touch));
System\Windows\Input\TouchDevice.cs (11)
604TouchEventArgs e = CreateEventArgs(Touch.LostTouchCaptureEvent); 613TouchEventArgs e = CreateEventArgs(Touch.GotTouchCaptureEvent); 932TouchEventArgs touchEventArgs = CreateEventArgs(isLeave ? Touch.TouchLeaveEvent : Touch.TouchEnterEvent); 937private TouchEventArgs CreateEventArgs(RoutedEvent routedEvent) 940TouchEventArgs touchEventArgs = new TouchEventArgs(this, Environment.TickCount); 947TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchDownEvent); 959TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchMoveEvent); 971TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchUpEvent); 1016TouchEventArgs promotedTouchEventArgs = CreateEventArgs(promotedTouchEvent); 1024PromoteMainToManipulation(manipulatableElement, (TouchEventArgs)inputEventArgs); 1066private void PromoteMainToManipulation(UIElement manipulatableElement, TouchEventArgs touchEventArgs)
System\Windows\Input\TouchEventArgs.cs (2)
58EventHandler<TouchEventArgs> handler = (EventHandler<TouchEventArgs>)genericHandler;