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)
2046public event EventHandler<TouchEventArgs> PreviewTouchDown 2055protected internal virtual void OnPreviewTouchDown(TouchEventArgs e) {} 2066public event EventHandler<TouchEventArgs> TouchDown 2075protected internal virtual void OnTouchDown(TouchEventArgs e) {} 2086public event EventHandler<TouchEventArgs> PreviewTouchMove 2095protected internal virtual void OnPreviewTouchMove(TouchEventArgs e) {} 2106public event EventHandler<TouchEventArgs> TouchMove 2115protected internal virtual void OnTouchMove(TouchEventArgs e) {} 2126public event EventHandler<TouchEventArgs> PreviewTouchUp 2135protected internal virtual void OnPreviewTouchUp(TouchEventArgs e) {} 2146public event EventHandler<TouchEventArgs> TouchUp 2155protected internal virtual void OnTouchUp(TouchEventArgs e) {} 2166public event EventHandler<TouchEventArgs> GotTouchCapture 2175protected internal virtual void OnGotTouchCapture(TouchEventArgs e) {} 2186public event EventHandler<TouchEventArgs> LostTouchCapture 2195protected internal virtual void OnLostTouchCapture(TouchEventArgs e) {} 2206public event EventHandler<TouchEventArgs> TouchEnter 2215protected internal virtual void OnTouchEnter(TouchEventArgs e) {} 2226public event EventHandler<TouchEventArgs> TouchLeave 2235protected internal virtual void OnTouchLeave(TouchEventArgs e) {}
System\Windows\Generated\UIElement.cs (40)
795EventManager.RegisterClassHandler(type, Touch.PreviewTouchDownEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchDownThunk), false); 796EventManager.RegisterClassHandler(type, Touch.TouchDownEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchDownThunk), false); 797EventManager.RegisterClassHandler(type, Touch.PreviewTouchMoveEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchMoveThunk), false); 798EventManager.RegisterClassHandler(type, Touch.TouchMoveEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchMoveThunk), false); 799EventManager.RegisterClassHandler(type, Touch.PreviewTouchUpEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchUpThunk), false); 800EventManager.RegisterClassHandler(type, Touch.TouchUpEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchUpThunk), false); 801EventManager.RegisterClassHandler(type, Touch.GotTouchCaptureEvent, new EventHandler<TouchEventArgs>(UIElement.OnGotTouchCaptureThunk), false); 802EventManager.RegisterClassHandler(type, Touch.LostTouchCaptureEvent, new EventHandler<TouchEventArgs>(UIElement.OnLostTouchCaptureThunk), false); 803EventManager.RegisterClassHandler(type, Touch.TouchEnterEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchEnterThunk), false); 804EventManager.RegisterClassHandler(type, Touch.TouchLeaveEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchLeaveThunk), false); 2505private static void OnPreviewTouchDownThunk(object sender, TouchEventArgs e) 2530private static void OnTouchDownThunk(object sender, TouchEventArgs e) 2555private static void OnPreviewTouchMoveThunk(object sender, TouchEventArgs e) 2580private static void OnTouchMoveThunk(object sender, TouchEventArgs e) 2605private static void OnPreviewTouchUpThunk(object sender, TouchEventArgs e) 2630private static void OnTouchUpThunk(object sender, TouchEventArgs e) 2655private static void OnGotTouchCaptureThunk(object sender, TouchEventArgs e) 2680private static void OnLostTouchCaptureThunk(object sender, TouchEventArgs e) 2705private static void OnTouchEnterThunk(object sender, TouchEventArgs e) 2730private static void OnTouchLeaveThunk(object sender, TouchEventArgs e) 3999public event EventHandler<TouchEventArgs> PreviewTouchDown 4008protected virtual void OnPreviewTouchDown(TouchEventArgs e) {} 4019public event EventHandler<TouchEventArgs> TouchDown 4028protected virtual void OnTouchDown(TouchEventArgs e) {} 4039public event EventHandler<TouchEventArgs> PreviewTouchMove 4048protected virtual void OnPreviewTouchMove(TouchEventArgs e) {} 4059public event EventHandler<TouchEventArgs> TouchMove 4068protected virtual void OnTouchMove(TouchEventArgs e) {} 4079public event EventHandler<TouchEventArgs> PreviewTouchUp 4088protected virtual void OnPreviewTouchUp(TouchEventArgs e) {} 4099public event EventHandler<TouchEventArgs> TouchUp 4108protected virtual void OnTouchUp(TouchEventArgs e) {} 4119public event EventHandler<TouchEventArgs> GotTouchCapture 4128protected virtual void OnGotTouchCapture(TouchEventArgs e) {} 4139public event EventHandler<TouchEventArgs> LostTouchCapture 4148protected virtual void OnLostTouchCapture(TouchEventArgs e) {} 4159public event EventHandler<TouchEventArgs> TouchEnter 4168protected virtual void OnTouchEnter(TouchEventArgs e) {} 4179public event EventHandler<TouchEventArgs> TouchLeave 4188protected 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) 949TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchDownEvent); 961TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchMoveEvent); 973TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchUpEvent); 1018TouchEventArgs promotedTouchEventArgs = CreateEventArgs(promotedTouchEvent); 1026PromoteMainToManipulation(manipulatableElement, (TouchEventArgs)inputEventArgs); 1068private void PromoteMainToManipulation(UIElement manipulatableElement, TouchEventArgs touchEventArgs)
System\Windows\Input\TouchEventArgs.cs (2)
58EventHandler<TouchEventArgs> handler = (EventHandler<TouchEventArgs>)genericHandler;