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