1 instantiation of TouchEventArgs
PresentationCore (1)
Core\CSharp\System\Windows\Input\TouchDevice.cs (1)
1022TouchEventArgs touchEventArgs = new TouchEventArgs(this, Environment.TickCount);
103 references to TouchEventArgs
PresentationCore (103)
Core\CSharp\System\Windows\Generated\ContentElement.cs (20)
2121public event EventHandler<TouchEventArgs> PreviewTouchDown 2130protected internal virtual void OnPreviewTouchDown(TouchEventArgs e) {} 2141public event EventHandler<TouchEventArgs> TouchDown 2150protected internal virtual void OnTouchDown(TouchEventArgs e) {} 2161public event EventHandler<TouchEventArgs> PreviewTouchMove 2170protected internal virtual void OnPreviewTouchMove(TouchEventArgs e) {} 2181public event EventHandler<TouchEventArgs> TouchMove 2190protected internal virtual void OnTouchMove(TouchEventArgs e) {} 2201public event EventHandler<TouchEventArgs> PreviewTouchUp 2210protected internal virtual void OnPreviewTouchUp(TouchEventArgs e) {} 2221public event EventHandler<TouchEventArgs> TouchUp 2230protected internal virtual void OnTouchUp(TouchEventArgs e) {} 2241public event EventHandler<TouchEventArgs> GotTouchCapture 2250protected internal virtual void OnGotTouchCapture(TouchEventArgs e) {} 2261public event EventHandler<TouchEventArgs> LostTouchCapture 2270protected internal virtual void OnLostTouchCapture(TouchEventArgs e) {} 2281public event EventHandler<TouchEventArgs> TouchEnter 2290protected internal virtual void OnTouchEnter(TouchEventArgs e) {} 2301public event EventHandler<TouchEventArgs> TouchLeave 2310protected internal virtual void OnTouchLeave(TouchEventArgs e) {}
Core\CSharp\System\Windows\Generated\UIElement.cs (40)
875EventManager.RegisterClassHandler(type, Touch.PreviewTouchDownEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchDownThunk), false); 876EventManager.RegisterClassHandler(type, Touch.TouchDownEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchDownThunk), false); 877EventManager.RegisterClassHandler(type, Touch.PreviewTouchMoveEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchMoveThunk), false); 878EventManager.RegisterClassHandler(type, Touch.TouchMoveEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchMoveThunk), false); 879EventManager.RegisterClassHandler(type, Touch.PreviewTouchUpEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchUpThunk), false); 880EventManager.RegisterClassHandler(type, Touch.TouchUpEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchUpThunk), false); 881EventManager.RegisterClassHandler(type, Touch.GotTouchCaptureEvent, new EventHandler<TouchEventArgs>(UIElement.OnGotTouchCaptureThunk), false); 882EventManager.RegisterClassHandler(type, Touch.LostTouchCaptureEvent, new EventHandler<TouchEventArgs>(UIElement.OnLostTouchCaptureThunk), false); 883EventManager.RegisterClassHandler(type, Touch.TouchEnterEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchEnterThunk), false); 884EventManager.RegisterClassHandler(type, Touch.TouchLeaveEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchLeaveThunk), false); 2869private static void OnPreviewTouchDownThunk(object sender, TouchEventArgs e) 2898private static void OnTouchDownThunk(object sender, TouchEventArgs e) 2927private static void OnPreviewTouchMoveThunk(object sender, TouchEventArgs e) 2956private static void OnTouchMoveThunk(object sender, TouchEventArgs e) 2985private static void OnPreviewTouchUpThunk(object sender, TouchEventArgs e) 3014private static void OnTouchUpThunk(object sender, TouchEventArgs e) 3043private static void OnGotTouchCaptureThunk(object sender, TouchEventArgs e) 3072private static void OnLostTouchCaptureThunk(object sender, TouchEventArgs e) 3101private static void OnTouchEnterThunk(object sender, TouchEventArgs e) 3130private static void OnTouchLeaveThunk(object sender, TouchEventArgs e) 4399public event EventHandler<TouchEventArgs> PreviewTouchDown 4408protected virtual void OnPreviewTouchDown(TouchEventArgs e) {} 4419public event EventHandler<TouchEventArgs> TouchDown 4428protected virtual void OnTouchDown(TouchEventArgs e) {} 4439public event EventHandler<TouchEventArgs> PreviewTouchMove 4448protected virtual void OnPreviewTouchMove(TouchEventArgs e) {} 4459public event EventHandler<TouchEventArgs> TouchMove 4468protected virtual void OnTouchMove(TouchEventArgs e) {} 4479public event EventHandler<TouchEventArgs> PreviewTouchUp 4488protected virtual void OnPreviewTouchUp(TouchEventArgs e) {} 4499public event EventHandler<TouchEventArgs> TouchUp 4508protected virtual void OnTouchUp(TouchEventArgs e) {} 4519public event EventHandler<TouchEventArgs> GotTouchCapture 4528protected virtual void OnGotTouchCapture(TouchEventArgs e) {} 4539public event EventHandler<TouchEventArgs> LostTouchCapture 4548protected virtual void OnLostTouchCapture(TouchEventArgs e) {} 4559public event EventHandler<TouchEventArgs> TouchEnter 4568protected virtual void OnTouchEnter(TouchEventArgs e) {} 4579public event EventHandler<TouchEventArgs> TouchLeave 4588protected virtual void OnTouchLeave(TouchEventArgs e) {}
Core\CSharp\System\Windows\Generated\UIElement3D.cs (20)
1827public event EventHandler<TouchEventArgs> PreviewTouchDown 1836protected internal virtual void OnPreviewTouchDown(TouchEventArgs e) {} 1847public event EventHandler<TouchEventArgs> TouchDown 1856protected internal virtual void OnTouchDown(TouchEventArgs e) {} 1867public event EventHandler<TouchEventArgs> PreviewTouchMove 1876protected internal virtual void OnPreviewTouchMove(TouchEventArgs e) {} 1887public event EventHandler<TouchEventArgs> TouchMove 1896protected internal virtual void OnTouchMove(TouchEventArgs e) {} 1907public event EventHandler<TouchEventArgs> PreviewTouchUp 1916protected internal virtual void OnPreviewTouchUp(TouchEventArgs e) {} 1927public event EventHandler<TouchEventArgs> TouchUp 1936protected internal virtual void OnTouchUp(TouchEventArgs e) {} 1947public event EventHandler<TouchEventArgs> GotTouchCapture 1956protected internal virtual void OnGotTouchCapture(TouchEventArgs e) {} 1967public event EventHandler<TouchEventArgs> LostTouchCapture 1976protected internal virtual void OnLostTouchCapture(TouchEventArgs e) {} 1987public event EventHandler<TouchEventArgs> TouchEnter 1996protected internal virtual void OnTouchEnter(TouchEventArgs e) {} 2007public event EventHandler<TouchEventArgs> TouchLeave 2016protected internal virtual void OnTouchLeave(TouchEventArgs e) {}
Core\CSharp\System\Windows\Input\Touch.cs (10)
15internal static readonly RoutedEvent PreviewTouchDownEvent = EventManager.RegisterRoutedEvent("PreviewTouchDown", RoutingStrategy.Tunnel, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 16internal static readonly RoutedEvent TouchDownEvent = EventManager.RegisterRoutedEvent("TouchDown", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 18internal static readonly RoutedEvent PreviewTouchMoveEvent = EventManager.RegisterRoutedEvent("PreviewTouchMove", RoutingStrategy.Tunnel, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 19internal static readonly RoutedEvent TouchMoveEvent = EventManager.RegisterRoutedEvent("TouchMove", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 21internal static readonly RoutedEvent PreviewTouchUpEvent = EventManager.RegisterRoutedEvent("PreviewTouchUp", RoutingStrategy.Tunnel, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 22internal static readonly RoutedEvent TouchUpEvent = EventManager.RegisterRoutedEvent("TouchUp", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 24internal static readonly RoutedEvent GotTouchCaptureEvent = EventManager.RegisterRoutedEvent("GotTouchCapture", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 25internal static readonly RoutedEvent LostTouchCaptureEvent = EventManager.RegisterRoutedEvent("LostTouchCapture", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 27internal static readonly RoutedEvent TouchEnterEvent = EventManager.RegisterRoutedEvent("TouchEnter", RoutingStrategy.Direct, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 28internal static readonly RoutedEvent TouchLeaveEvent = EventManager.RegisterRoutedEvent("TouchLeave", RoutingStrategy.Direct, typeof(EventHandler<TouchEventArgs>), typeof(Touch));
Core\CSharp\System\Windows\Input\TouchDevice.cs (11)
663TouchEventArgs e = CreateEventArgs(Touch.LostTouchCaptureEvent); 677TouchEventArgs e = CreateEventArgs(Touch.GotTouchCaptureEvent); 1014TouchEventArgs touchEventArgs = CreateEventArgs(isLeave ? Touch.TouchLeaveEvent : Touch.TouchEnterEvent); 1019private TouchEventArgs CreateEventArgs(RoutedEvent routedEvent) 1022TouchEventArgs touchEventArgs = new TouchEventArgs(this, Environment.TickCount); 1034TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchDownEvent); 1051TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchMoveEvent); 1068TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchUpEvent); 1117TouchEventArgs promotedTouchEventArgs = CreateEventArgs(promotedTouchEvent); 1125PromoteMainToManipulation(manipulatableElement, (TouchEventArgs)inputEventArgs); 1167private void PromoteMainToManipulation(UIElement manipulatableElement, TouchEventArgs touchEventArgs)
Core\CSharp\System\Windows\Input\TouchEventArgs.cs (2)
62EventHandler<TouchEventArgs> handler = (EventHandler<TouchEventArgs>)genericHandler;