1 instantiation of TouchEventArgs
PresentationCore (1)
System\Windows\Input\TouchDevice.cs (1)
940
TouchEventArgs touchEventArgs = new
TouchEventArgs
(this, Environment.TickCount);
103 references to TouchEventArgs
PresentationCore (103)
System\Windows\Generated\ContentElement.cs (20)
2057
public event EventHandler<
TouchEventArgs
> PreviewTouchDown
2066
protected internal virtual void OnPreviewTouchDown(
TouchEventArgs
e) {}
2077
public event EventHandler<
TouchEventArgs
> TouchDown
2086
protected internal virtual void OnTouchDown(
TouchEventArgs
e) {}
2097
public event EventHandler<
TouchEventArgs
> PreviewTouchMove
2106
protected internal virtual void OnPreviewTouchMove(
TouchEventArgs
e) {}
2117
public event EventHandler<
TouchEventArgs
> TouchMove
2126
protected internal virtual void OnTouchMove(
TouchEventArgs
e) {}
2137
public event EventHandler<
TouchEventArgs
> PreviewTouchUp
2146
protected internal virtual void OnPreviewTouchUp(
TouchEventArgs
e) {}
2157
public event EventHandler<
TouchEventArgs
> TouchUp
2166
protected internal virtual void OnTouchUp(
TouchEventArgs
e) {}
2177
public event EventHandler<
TouchEventArgs
> GotTouchCapture
2186
protected internal virtual void OnGotTouchCapture(
TouchEventArgs
e) {}
2197
public event EventHandler<
TouchEventArgs
> LostTouchCapture
2206
protected internal virtual void OnLostTouchCapture(
TouchEventArgs
e) {}
2217
public event EventHandler<
TouchEventArgs
> TouchEnter
2226
protected internal virtual void OnTouchEnter(
TouchEventArgs
e) {}
2237
public event EventHandler<
TouchEventArgs
> TouchLeave
2246
protected internal virtual void OnTouchLeave(
TouchEventArgs
e) {}
System\Windows\Generated\UIElement.cs (40)
806
EventManager.RegisterClassHandler(type, Touch.PreviewTouchDownEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnPreviewTouchDownThunk), false);
807
EventManager.RegisterClassHandler(type, Touch.TouchDownEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchDownThunk), false);
808
EventManager.RegisterClassHandler(type, Touch.PreviewTouchMoveEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnPreviewTouchMoveThunk), false);
809
EventManager.RegisterClassHandler(type, Touch.TouchMoveEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchMoveThunk), false);
810
EventManager.RegisterClassHandler(type, Touch.PreviewTouchUpEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnPreviewTouchUpThunk), false);
811
EventManager.RegisterClassHandler(type, Touch.TouchUpEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchUpThunk), false);
812
EventManager.RegisterClassHandler(type, Touch.GotTouchCaptureEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnGotTouchCaptureThunk), false);
813
EventManager.RegisterClassHandler(type, Touch.LostTouchCaptureEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnLostTouchCaptureThunk), false);
814
EventManager.RegisterClassHandler(type, Touch.TouchEnterEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchEnterThunk), false);
815
EventManager.RegisterClassHandler(type, Touch.TouchLeaveEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchLeaveThunk), false);
2516
private static void OnPreviewTouchDownThunk(object sender,
TouchEventArgs
e)
2541
private static void OnTouchDownThunk(object sender,
TouchEventArgs
e)
2566
private static void OnPreviewTouchMoveThunk(object sender,
TouchEventArgs
e)
2591
private static void OnTouchMoveThunk(object sender,
TouchEventArgs
e)
2616
private static void OnPreviewTouchUpThunk(object sender,
TouchEventArgs
e)
2641
private static void OnTouchUpThunk(object sender,
TouchEventArgs
e)
2666
private static void OnGotTouchCaptureThunk(object sender,
TouchEventArgs
e)
2691
private static void OnLostTouchCaptureThunk(object sender,
TouchEventArgs
e)
2716
private static void OnTouchEnterThunk(object sender,
TouchEventArgs
e)
2741
private static void OnTouchLeaveThunk(object sender,
TouchEventArgs
e)
4010
public event EventHandler<
TouchEventArgs
> PreviewTouchDown
4019
protected virtual void OnPreviewTouchDown(
TouchEventArgs
e) {}
4030
public event EventHandler<
TouchEventArgs
> TouchDown
4039
protected virtual void OnTouchDown(
TouchEventArgs
e) {}
4050
public event EventHandler<
TouchEventArgs
> PreviewTouchMove
4059
protected virtual void OnPreviewTouchMove(
TouchEventArgs
e) {}
4070
public event EventHandler<
TouchEventArgs
> TouchMove
4079
protected virtual void OnTouchMove(
TouchEventArgs
e) {}
4090
public event EventHandler<
TouchEventArgs
> PreviewTouchUp
4099
protected virtual void OnPreviewTouchUp(
TouchEventArgs
e) {}
4110
public event EventHandler<
TouchEventArgs
> TouchUp
4119
protected virtual void OnTouchUp(
TouchEventArgs
e) {}
4130
public event EventHandler<
TouchEventArgs
> GotTouchCapture
4139
protected virtual void OnGotTouchCapture(
TouchEventArgs
e) {}
4150
public event EventHandler<
TouchEventArgs
> LostTouchCapture
4159
protected virtual void OnLostTouchCapture(
TouchEventArgs
e) {}
4170
public event EventHandler<
TouchEventArgs
> TouchEnter
4179
protected virtual void OnTouchEnter(
TouchEventArgs
e) {}
4190
public event EventHandler<
TouchEventArgs
> TouchLeave
4199
protected virtual void OnTouchLeave(
TouchEventArgs
e) {}
System\Windows\Generated\UIElement3D.cs (20)
1776
public event EventHandler<
TouchEventArgs
> PreviewTouchDown
1785
protected internal virtual void OnPreviewTouchDown(
TouchEventArgs
e) {}
1796
public event EventHandler<
TouchEventArgs
> TouchDown
1805
protected internal virtual void OnTouchDown(
TouchEventArgs
e) {}
1816
public event EventHandler<
TouchEventArgs
> PreviewTouchMove
1825
protected internal virtual void OnPreviewTouchMove(
TouchEventArgs
e) {}
1836
public event EventHandler<
TouchEventArgs
> TouchMove
1845
protected internal virtual void OnTouchMove(
TouchEventArgs
e) {}
1856
public event EventHandler<
TouchEventArgs
> PreviewTouchUp
1865
protected internal virtual void OnPreviewTouchUp(
TouchEventArgs
e) {}
1876
public event EventHandler<
TouchEventArgs
> TouchUp
1885
protected internal virtual void OnTouchUp(
TouchEventArgs
e) {}
1896
public event EventHandler<
TouchEventArgs
> GotTouchCapture
1905
protected internal virtual void OnGotTouchCapture(
TouchEventArgs
e) {}
1916
public event EventHandler<
TouchEventArgs
> LostTouchCapture
1925
protected internal virtual void OnLostTouchCapture(
TouchEventArgs
e) {}
1936
public event EventHandler<
TouchEventArgs
> TouchEnter
1945
protected internal virtual void OnTouchEnter(
TouchEventArgs
e) {}
1956
public event EventHandler<
TouchEventArgs
> TouchLeave
1965
protected internal virtual void OnTouchLeave(
TouchEventArgs
e) {}
System\Windows\Input\Touch.cs (10)
12
internal static readonly RoutedEvent PreviewTouchDownEvent = EventManager.RegisterRoutedEvent("PreviewTouchDown", RoutingStrategy.Tunnel, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
13
internal static readonly RoutedEvent TouchDownEvent = EventManager.RegisterRoutedEvent("TouchDown", RoutingStrategy.Bubble, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
15
internal static readonly RoutedEvent PreviewTouchMoveEvent = EventManager.RegisterRoutedEvent("PreviewTouchMove", RoutingStrategy.Tunnel, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
16
internal static readonly RoutedEvent TouchMoveEvent = EventManager.RegisterRoutedEvent("TouchMove", RoutingStrategy.Bubble, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
18
internal static readonly RoutedEvent PreviewTouchUpEvent = EventManager.RegisterRoutedEvent("PreviewTouchUp", RoutingStrategy.Tunnel, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
19
internal static readonly RoutedEvent TouchUpEvent = EventManager.RegisterRoutedEvent("TouchUp", RoutingStrategy.Bubble, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
21
internal static readonly RoutedEvent GotTouchCaptureEvent = EventManager.RegisterRoutedEvent("GotTouchCapture", RoutingStrategy.Bubble, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
22
internal static readonly RoutedEvent LostTouchCaptureEvent = EventManager.RegisterRoutedEvent("LostTouchCapture", RoutingStrategy.Bubble, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
24
internal static readonly RoutedEvent TouchEnterEvent = EventManager.RegisterRoutedEvent("TouchEnter", RoutingStrategy.Direct, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
25
internal static readonly RoutedEvent TouchLeaveEvent = EventManager.RegisterRoutedEvent("TouchLeave", RoutingStrategy.Direct, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
System\Windows\Input\TouchDevice.cs (11)
604
TouchEventArgs
e = CreateEventArgs(Touch.LostTouchCaptureEvent);
613
TouchEventArgs
e = CreateEventArgs(Touch.GotTouchCaptureEvent);
932
TouchEventArgs
touchEventArgs = CreateEventArgs(isLeave ? Touch.TouchLeaveEvent : Touch.TouchEnterEvent);
937
private
TouchEventArgs
CreateEventArgs(RoutedEvent routedEvent)
940
TouchEventArgs
touchEventArgs = new TouchEventArgs(this, Environment.TickCount);
947
TouchEventArgs
e = CreateEventArgs(Touch.PreviewTouchDownEvent);
959
TouchEventArgs
e = CreateEventArgs(Touch.PreviewTouchMoveEvent);
971
TouchEventArgs
e = CreateEventArgs(Touch.PreviewTouchUpEvent);
1016
TouchEventArgs
promotedTouchEventArgs = CreateEventArgs(promotedTouchEvent);
1024
PromoteMainToManipulation(manipulatableElement, (
TouchEventArgs
)inputEventArgs);
1066
private void PromoteMainToManipulation(UIElement manipulatableElement,
TouchEventArgs
touchEventArgs)
System\Windows\Input\TouchEventArgs.cs (2)
58
EventHandler<
TouchEventArgs
> handler = (EventHandler<
TouchEventArgs
>)genericHandler;