1 instantiation of TouchEventArgs
PresentationCore (1)
System\Windows\Input\TouchDevice.cs (1)
939TouchEventArgs touchEventArgs = new TouchEventArgs(this, Environment.TickCount)
103 references to TouchEventArgs
PresentationCore (103)
System\Windows\Generated\ContentElement.cs (20)
2045public event EventHandler<TouchEventArgs> PreviewTouchDown 2054protected internal virtual void OnPreviewTouchDown(TouchEventArgs e) {} 2065public event EventHandler<TouchEventArgs> TouchDown 2074protected internal virtual void OnTouchDown(TouchEventArgs e) {} 2085public event EventHandler<TouchEventArgs> PreviewTouchMove 2094protected internal virtual void OnPreviewTouchMove(TouchEventArgs e) {} 2105public event EventHandler<TouchEventArgs> TouchMove 2114protected internal virtual void OnTouchMove(TouchEventArgs e) {} 2125public event EventHandler<TouchEventArgs> PreviewTouchUp 2134protected internal virtual void OnPreviewTouchUp(TouchEventArgs e) {} 2145public event EventHandler<TouchEventArgs> TouchUp 2154protected internal virtual void OnTouchUp(TouchEventArgs e) {} 2165public event EventHandler<TouchEventArgs> GotTouchCapture 2174protected internal virtual void OnGotTouchCapture(TouchEventArgs e) {} 2185public event EventHandler<TouchEventArgs> LostTouchCapture 2194protected internal virtual void OnLostTouchCapture(TouchEventArgs e) {} 2205public event EventHandler<TouchEventArgs> TouchEnter 2214protected internal virtual void OnTouchEnter(TouchEventArgs e) {} 2225public event EventHandler<TouchEventArgs> TouchLeave 2234protected internal virtual void OnTouchLeave(TouchEventArgs e) {}
System\Windows\Generated\UIElement.cs (40)
794EventManager.RegisterClassHandler(type, Touch.PreviewTouchDownEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchDownThunk), false); 795EventManager.RegisterClassHandler(type, Touch.TouchDownEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchDownThunk), false); 796EventManager.RegisterClassHandler(type, Touch.PreviewTouchMoveEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchMoveThunk), false); 797EventManager.RegisterClassHandler(type, Touch.TouchMoveEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchMoveThunk), false); 798EventManager.RegisterClassHandler(type, Touch.PreviewTouchUpEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchUpThunk), false); 799EventManager.RegisterClassHandler(type, Touch.TouchUpEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchUpThunk), false); 800EventManager.RegisterClassHandler(type, Touch.GotTouchCaptureEvent, new EventHandler<TouchEventArgs>(UIElement.OnGotTouchCaptureThunk), false); 801EventManager.RegisterClassHandler(type, Touch.LostTouchCaptureEvent, new EventHandler<TouchEventArgs>(UIElement.OnLostTouchCaptureThunk), false); 802EventManager.RegisterClassHandler(type, Touch.TouchEnterEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchEnterThunk), false); 803EventManager.RegisterClassHandler(type, Touch.TouchLeaveEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchLeaveThunk), false); 2504private static void OnPreviewTouchDownThunk(object sender, TouchEventArgs e) 2529private static void OnTouchDownThunk(object sender, TouchEventArgs e) 2554private static void OnPreviewTouchMoveThunk(object sender, TouchEventArgs e) 2579private static void OnTouchMoveThunk(object sender, TouchEventArgs e) 2604private static void OnPreviewTouchUpThunk(object sender, TouchEventArgs e) 2629private static void OnTouchUpThunk(object sender, TouchEventArgs e) 2654private static void OnGotTouchCaptureThunk(object sender, TouchEventArgs e) 2679private static void OnLostTouchCaptureThunk(object sender, TouchEventArgs e) 2704private static void OnTouchEnterThunk(object sender, TouchEventArgs e) 2729private static void OnTouchLeaveThunk(object sender, TouchEventArgs e) 3998public event EventHandler<TouchEventArgs> PreviewTouchDown 4007protected virtual void OnPreviewTouchDown(TouchEventArgs e) {} 4018public event EventHandler<TouchEventArgs> TouchDown 4027protected virtual void OnTouchDown(TouchEventArgs e) {} 4038public event EventHandler<TouchEventArgs> PreviewTouchMove 4047protected virtual void OnPreviewTouchMove(TouchEventArgs e) {} 4058public event EventHandler<TouchEventArgs> TouchMove 4067protected virtual void OnTouchMove(TouchEventArgs e) {} 4078public event EventHandler<TouchEventArgs> PreviewTouchUp 4087protected virtual void OnPreviewTouchUp(TouchEventArgs e) {} 4098public event EventHandler<TouchEventArgs> TouchUp 4107protected virtual void OnTouchUp(TouchEventArgs e) {} 4118public event EventHandler<TouchEventArgs> GotTouchCapture 4127protected virtual void OnGotTouchCapture(TouchEventArgs e) {} 4138public event EventHandler<TouchEventArgs> LostTouchCapture 4147protected virtual void OnLostTouchCapture(TouchEventArgs e) {} 4158public event EventHandler<TouchEventArgs> TouchEnter 4167protected virtual void OnTouchEnter(TouchEventArgs e) {} 4178public event EventHandler<TouchEventArgs> TouchLeave 4187protected virtual void OnTouchLeave(TouchEventArgs e) {}
System\Windows\Generated\UIElement3D.cs (20)
1775public event EventHandler<TouchEventArgs> PreviewTouchDown 1784protected internal virtual void OnPreviewTouchDown(TouchEventArgs e) {} 1795public event EventHandler<TouchEventArgs> TouchDown 1804protected internal virtual void OnTouchDown(TouchEventArgs e) {} 1815public event EventHandler<TouchEventArgs> PreviewTouchMove 1824protected internal virtual void OnPreviewTouchMove(TouchEventArgs e) {} 1835public event EventHandler<TouchEventArgs> TouchMove 1844protected internal virtual void OnTouchMove(TouchEventArgs e) {} 1855public event EventHandler<TouchEventArgs> PreviewTouchUp 1864protected internal virtual void OnPreviewTouchUp(TouchEventArgs e) {} 1875public event EventHandler<TouchEventArgs> TouchUp 1884protected internal virtual void OnTouchUp(TouchEventArgs e) {} 1895public event EventHandler<TouchEventArgs> GotTouchCapture 1904protected internal virtual void OnGotTouchCapture(TouchEventArgs e) {} 1915public event EventHandler<TouchEventArgs> LostTouchCapture 1924protected internal virtual void OnLostTouchCapture(TouchEventArgs e) {} 1935public event EventHandler<TouchEventArgs> TouchEnter 1944protected internal virtual void OnTouchEnter(TouchEventArgs e) {} 1955public event EventHandler<TouchEventArgs> TouchLeave 1964protected internal virtual void OnTouchLeave(TouchEventArgs e) {}
System\Windows\Input\Touch.cs (10)
11internal static readonly RoutedEvent PreviewTouchDownEvent = EventManager.RegisterRoutedEvent("PreviewTouchDown", RoutingStrategy.Tunnel, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 12internal static readonly RoutedEvent TouchDownEvent = EventManager.RegisterRoutedEvent("TouchDown", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 14internal static readonly RoutedEvent PreviewTouchMoveEvent = EventManager.RegisterRoutedEvent("PreviewTouchMove", RoutingStrategy.Tunnel, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 15internal static readonly RoutedEvent TouchMoveEvent = EventManager.RegisterRoutedEvent("TouchMove", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 17internal static readonly RoutedEvent PreviewTouchUpEvent = EventManager.RegisterRoutedEvent("PreviewTouchUp", RoutingStrategy.Tunnel, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 18internal static readonly RoutedEvent TouchUpEvent = EventManager.RegisterRoutedEvent("TouchUp", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 20internal static readonly RoutedEvent GotTouchCaptureEvent = EventManager.RegisterRoutedEvent("GotTouchCapture", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 21internal static readonly RoutedEvent LostTouchCaptureEvent = EventManager.RegisterRoutedEvent("LostTouchCapture", RoutingStrategy.Bubble, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 23internal static readonly RoutedEvent TouchEnterEvent = EventManager.RegisterRoutedEvent("TouchEnter", RoutingStrategy.Direct, typeof(EventHandler<TouchEventArgs>), typeof(Touch)); 24internal static readonly RoutedEvent TouchLeaveEvent = EventManager.RegisterRoutedEvent("TouchLeave", RoutingStrategy.Direct, typeof(EventHandler<TouchEventArgs>), typeof(Touch));
System\Windows\Input\TouchDevice.cs (11)
603TouchEventArgs e = CreateEventArgs(Touch.LostTouchCaptureEvent); 612TouchEventArgs e = CreateEventArgs(Touch.GotTouchCaptureEvent); 931TouchEventArgs touchEventArgs = CreateEventArgs(isLeave ? Touch.TouchLeaveEvent : Touch.TouchEnterEvent); 936private TouchEventArgs CreateEventArgs(RoutedEvent routedEvent) 939TouchEventArgs touchEventArgs = new TouchEventArgs(this, Environment.TickCount) 948TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchDownEvent); 960TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchMoveEvent); 972TouchEventArgs e = CreateEventArgs(Touch.PreviewTouchUpEvent); 1017TouchEventArgs promotedTouchEventArgs = CreateEventArgs(promotedTouchEvent); 1025PromoteMainToManipulation(manipulatableElement, (TouchEventArgs)inputEventArgs); 1067private void PromoteMainToManipulation(UIElement manipulatableElement, TouchEventArgs touchEventArgs)
System\Windows\Input\TouchEventArgs.cs (2)
57EventHandler<TouchEventArgs> handler = (EventHandler<TouchEventArgs>)genericHandler;