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