1 instantiation of TouchEventArgs
PresentationCore (1)
System\Windows\Input\TouchDevice.cs (1)
952TouchEventArgs touchEventArgs = new TouchEventArgs(this, Environment.TickCount);
103 references to TouchEventArgs
PresentationCore (103)
System\Windows\Generated\ContentElement.cs (20)
2061public event EventHandler<TouchEventArgs> PreviewTouchDown 2070protected internal virtual void OnPreviewTouchDown(TouchEventArgs e) {} 2081public event EventHandler<TouchEventArgs> TouchDown 2090protected internal virtual void OnTouchDown(TouchEventArgs e) {} 2101public event EventHandler<TouchEventArgs> PreviewTouchMove 2110protected internal virtual void OnPreviewTouchMove(TouchEventArgs e) {} 2121public event EventHandler<TouchEventArgs> TouchMove 2130protected internal virtual void OnTouchMove(TouchEventArgs e) {} 2141public event EventHandler<TouchEventArgs> PreviewTouchUp 2150protected internal virtual void OnPreviewTouchUp(TouchEventArgs e) {} 2161public event EventHandler<TouchEventArgs> TouchUp 2170protected internal virtual void OnTouchUp(TouchEventArgs e) {} 2181public event EventHandler<TouchEventArgs> GotTouchCapture 2190protected internal virtual void OnGotTouchCapture(TouchEventArgs e) {} 2201public event EventHandler<TouchEventArgs> LostTouchCapture 2210protected internal virtual void OnLostTouchCapture(TouchEventArgs e) {} 2221public event EventHandler<TouchEventArgs> TouchEnter 2230protected internal virtual void OnTouchEnter(TouchEventArgs e) {} 2241public event EventHandler<TouchEventArgs> TouchLeave 2250protected internal virtual void OnTouchLeave(TouchEventArgs e) {}
System\Windows\Generated\UIElement.cs (40)
810EventManager.RegisterClassHandler(type, Touch.PreviewTouchDownEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchDownThunk), false); 811EventManager.RegisterClassHandler(type, Touch.TouchDownEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchDownThunk), false); 812EventManager.RegisterClassHandler(type, Touch.PreviewTouchMoveEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchMoveThunk), false); 813EventManager.RegisterClassHandler(type, Touch.TouchMoveEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchMoveThunk), false); 814EventManager.RegisterClassHandler(type, Touch.PreviewTouchUpEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchUpThunk), false); 815EventManager.RegisterClassHandler(type, Touch.TouchUpEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchUpThunk), false); 816EventManager.RegisterClassHandler(type, Touch.GotTouchCaptureEvent, new EventHandler<TouchEventArgs>(UIElement.OnGotTouchCaptureThunk), false); 817EventManager.RegisterClassHandler(type, Touch.LostTouchCaptureEvent, new EventHandler<TouchEventArgs>(UIElement.OnLostTouchCaptureThunk), false); 818EventManager.RegisterClassHandler(type, Touch.TouchEnterEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchEnterThunk), false); 819EventManager.RegisterClassHandler(type, Touch.TouchLeaveEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchLeaveThunk), false); 2520private static void OnPreviewTouchDownThunk(object sender, TouchEventArgs e) 2545private static void OnTouchDownThunk(object sender, TouchEventArgs e) 2570private static void OnPreviewTouchMoveThunk(object sender, TouchEventArgs e) 2595private static void OnTouchMoveThunk(object sender, TouchEventArgs e) 2620private static void OnPreviewTouchUpThunk(object sender, TouchEventArgs e) 2645private static void OnTouchUpThunk(object sender, TouchEventArgs e) 2670private static void OnGotTouchCaptureThunk(object sender, TouchEventArgs e) 2695private static void OnLostTouchCaptureThunk(object sender, TouchEventArgs e) 2720private static void OnTouchEnterThunk(object sender, TouchEventArgs e) 2745private static void OnTouchLeaveThunk(object sender, TouchEventArgs e) 4014public event EventHandler<TouchEventArgs> PreviewTouchDown 4023protected virtual void OnPreviewTouchDown(TouchEventArgs e) {} 4034public event EventHandler<TouchEventArgs> TouchDown 4043protected virtual void OnTouchDown(TouchEventArgs e) {} 4054public event EventHandler<TouchEventArgs> PreviewTouchMove 4063protected virtual void OnPreviewTouchMove(TouchEventArgs e) {} 4074public event EventHandler<TouchEventArgs> TouchMove 4083protected virtual void OnTouchMove(TouchEventArgs e) {} 4094public event EventHandler<TouchEventArgs> PreviewTouchUp 4103protected virtual void OnPreviewTouchUp(TouchEventArgs e) {} 4114public event EventHandler<TouchEventArgs> TouchUp 4123protected virtual void OnTouchUp(TouchEventArgs e) {} 4134public event EventHandler<TouchEventArgs> GotTouchCapture 4143protected virtual void OnGotTouchCapture(TouchEventArgs e) {} 4154public event EventHandler<TouchEventArgs> LostTouchCapture 4163protected virtual void OnLostTouchCapture(TouchEventArgs e) {} 4174public event EventHandler<TouchEventArgs> TouchEnter 4183protected virtual void OnTouchEnter(TouchEventArgs e) {} 4194public event EventHandler<TouchEventArgs> TouchLeave 4203protected virtual void OnTouchLeave(TouchEventArgs e) {}
System\Windows\Generated\UIElement3D.cs (20)
1782public event EventHandler<TouchEventArgs> PreviewTouchDown 1791protected internal virtual void OnPreviewTouchDown(TouchEventArgs e) {} 1802public event EventHandler<TouchEventArgs> TouchDown 1811protected internal virtual void OnTouchDown(TouchEventArgs e) {} 1822public event EventHandler<TouchEventArgs> PreviewTouchMove 1831protected internal virtual void OnPreviewTouchMove(TouchEventArgs e) {} 1842public event EventHandler<TouchEventArgs> TouchMove 1851protected internal virtual void OnTouchMove(TouchEventArgs e) {} 1862public event EventHandler<TouchEventArgs> PreviewTouchUp 1871protected internal virtual void OnPreviewTouchUp(TouchEventArgs e) {} 1882public event EventHandler<TouchEventArgs> TouchUp 1891protected internal virtual void OnTouchUp(TouchEventArgs e) {} 1902public event EventHandler<TouchEventArgs> GotTouchCapture 1911protected internal virtual void OnGotTouchCapture(TouchEventArgs e) {} 1922public event EventHandler<TouchEventArgs> LostTouchCapture 1931protected internal virtual void OnLostTouchCapture(TouchEventArgs e) {} 1942public event EventHandler<TouchEventArgs> TouchEnter 1951protected internal virtual void OnTouchEnter(TouchEventArgs e) {} 1962public event EventHandler<TouchEventArgs> TouchLeave 1971protected internal virtual void OnTouchLeave(TouchEventArgs e) {}
System\Windows\Input\Touch.cs (10)
16internal static readonly RoutedEvent PreviewTouchDownEvent = EventManager.RegisterRoutedEvent("PreviewTouchDown", RoutingStrategy.Tunnel, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 17internal static readonly RoutedEvent TouchDownEvent = EventManager.RegisterRoutedEvent("TouchDown", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 19internal static readonly RoutedEvent PreviewTouchMoveEvent = EventManager.RegisterRoutedEvent("PreviewTouchMove", RoutingStrategy.Tunnel, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 20internal static readonly RoutedEvent TouchMoveEvent = EventManager.RegisterRoutedEvent("TouchMove", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 22internal static readonly RoutedEvent PreviewTouchUpEvent = EventManager.RegisterRoutedEvent("PreviewTouchUp", RoutingStrategy.Tunnel, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 23internal static readonly RoutedEvent TouchUpEvent = EventManager.RegisterRoutedEvent("TouchUp", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 25internal static readonly RoutedEvent GotTouchCaptureEvent = EventManager.RegisterRoutedEvent("GotTouchCapture", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 26internal static readonly RoutedEvent LostTouchCaptureEvent = EventManager.RegisterRoutedEvent("LostTouchCapture", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 28internal static readonly RoutedEvent TouchEnterEvent = EventManager.RegisterRoutedEvent("TouchEnter", RoutingStrategy.Direct, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 29internal static readonly RoutedEvent TouchLeaveEvent = EventManager.RegisterRoutedEvent("TouchLeave", RoutingStrategy.Direct, typeof(EventHandler<TouchEventArgs>), typeof(Touch));
System\Windows\Input\TouchDevice.cs (11)
616TouchEventArgs e = CreateEventArgs(Touch.LostTouchCaptureEvent); 625TouchEventArgs e = CreateEventArgs(Touch.GotTouchCaptureEvent); 944TouchEventArgs touchEventArgs = CreateEventArgs(isLeave ? Touch.TouchLeaveEvent : Touch.TouchEnterEvent); 949private TouchEventArgs CreateEventArgs(RoutedEvent routedEvent) 952TouchEventArgs touchEventArgs = new TouchEventArgs(this, Environment.TickCount); 959TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchDownEvent); 971TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchMoveEvent); 983TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchUpEvent); 1028TouchEventArgs promotedTouchEventArgs = CreateEventArgs(promotedTouchEvent); 1036PromoteMainToManipulation(manipulatableElement, (TouchEventArgs)inputEventArgs); 1078private void PromoteMainToManipulation(UIElement manipulatableElement, TouchEventArgs touchEventArgs)
System\Windows\Input\TouchEventArgs.cs (2)
63EventHandler<TouchEventArgs> handler = (EventHandler<TouchEventArgs>)genericHandler;