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)
2046
public event EventHandler<
TouchEventArgs
> PreviewTouchDown
2055
protected internal virtual void OnPreviewTouchDown(
TouchEventArgs
e) {}
2066
public event EventHandler<
TouchEventArgs
> TouchDown
2075
protected internal virtual void OnTouchDown(
TouchEventArgs
e) {}
2086
public event EventHandler<
TouchEventArgs
> PreviewTouchMove
2095
protected internal virtual void OnPreviewTouchMove(
TouchEventArgs
e) {}
2106
public event EventHandler<
TouchEventArgs
> TouchMove
2115
protected internal virtual void OnTouchMove(
TouchEventArgs
e) {}
2126
public event EventHandler<
TouchEventArgs
> PreviewTouchUp
2135
protected internal virtual void OnPreviewTouchUp(
TouchEventArgs
e) {}
2146
public event EventHandler<
TouchEventArgs
> TouchUp
2155
protected internal virtual void OnTouchUp(
TouchEventArgs
e) {}
2166
public event EventHandler<
TouchEventArgs
> GotTouchCapture
2175
protected internal virtual void OnGotTouchCapture(
TouchEventArgs
e) {}
2186
public event EventHandler<
TouchEventArgs
> LostTouchCapture
2195
protected internal virtual void OnLostTouchCapture(
TouchEventArgs
e) {}
2206
public event EventHandler<
TouchEventArgs
> TouchEnter
2215
protected internal virtual void OnTouchEnter(
TouchEventArgs
e) {}
2226
public event EventHandler<
TouchEventArgs
> TouchLeave
2235
protected internal virtual void OnTouchLeave(
TouchEventArgs
e) {}
System\Windows\Generated\UIElement.cs (40)
795
EventManager.RegisterClassHandler(type, Touch.PreviewTouchDownEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnPreviewTouchDownThunk), false);
796
EventManager.RegisterClassHandler(type, Touch.TouchDownEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchDownThunk), false);
797
EventManager.RegisterClassHandler(type, Touch.PreviewTouchMoveEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnPreviewTouchMoveThunk), false);
798
EventManager.RegisterClassHandler(type, Touch.TouchMoveEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchMoveThunk), false);
799
EventManager.RegisterClassHandler(type, Touch.PreviewTouchUpEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnPreviewTouchUpThunk), false);
800
EventManager.RegisterClassHandler(type, Touch.TouchUpEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchUpThunk), false);
801
EventManager.RegisterClassHandler(type, Touch.GotTouchCaptureEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnGotTouchCaptureThunk), false);
802
EventManager.RegisterClassHandler(type, Touch.LostTouchCaptureEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnLostTouchCaptureThunk), false);
803
EventManager.RegisterClassHandler(type, Touch.TouchEnterEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchEnterThunk), false);
804
EventManager.RegisterClassHandler(type, Touch.TouchLeaveEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchLeaveThunk), false);
2505
private static void OnPreviewTouchDownThunk(object sender,
TouchEventArgs
e)
2530
private static void OnTouchDownThunk(object sender,
TouchEventArgs
e)
2555
private static void OnPreviewTouchMoveThunk(object sender,
TouchEventArgs
e)
2580
private static void OnTouchMoveThunk(object sender,
TouchEventArgs
e)
2605
private static void OnPreviewTouchUpThunk(object sender,
TouchEventArgs
e)
2630
private static void OnTouchUpThunk(object sender,
TouchEventArgs
e)
2655
private static void OnGotTouchCaptureThunk(object sender,
TouchEventArgs
e)
2680
private static void OnLostTouchCaptureThunk(object sender,
TouchEventArgs
e)
2705
private static void OnTouchEnterThunk(object sender,
TouchEventArgs
e)
2730
private static void OnTouchLeaveThunk(object sender,
TouchEventArgs
e)
3999
public event EventHandler<
TouchEventArgs
> PreviewTouchDown
4008
protected virtual void OnPreviewTouchDown(
TouchEventArgs
e) {}
4019
public event EventHandler<
TouchEventArgs
> TouchDown
4028
protected virtual void OnTouchDown(
TouchEventArgs
e) {}
4039
public event EventHandler<
TouchEventArgs
> PreviewTouchMove
4048
protected virtual void OnPreviewTouchMove(
TouchEventArgs
e) {}
4059
public event EventHandler<
TouchEventArgs
> TouchMove
4068
protected virtual void OnTouchMove(
TouchEventArgs
e) {}
4079
public event EventHandler<
TouchEventArgs
> PreviewTouchUp
4088
protected virtual void OnPreviewTouchUp(
TouchEventArgs
e) {}
4099
public event EventHandler<
TouchEventArgs
> TouchUp
4108
protected virtual void OnTouchUp(
TouchEventArgs
e) {}
4119
public event EventHandler<
TouchEventArgs
> GotTouchCapture
4128
protected virtual void OnGotTouchCapture(
TouchEventArgs
e) {}
4139
public event EventHandler<
TouchEventArgs
> LostTouchCapture
4148
protected virtual void OnLostTouchCapture(
TouchEventArgs
e) {}
4159
public event EventHandler<
TouchEventArgs
> TouchEnter
4168
protected virtual void OnTouchEnter(
TouchEventArgs
e) {}
4179
public event EventHandler<
TouchEventArgs
> TouchLeave
4188
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)
949
TouchEventArgs
e = CreateEventArgs(Touch.PreviewTouchDownEvent);
961
TouchEventArgs
e = CreateEventArgs(Touch.PreviewTouchMoveEvent);
973
TouchEventArgs
e = CreateEventArgs(Touch.PreviewTouchUpEvent);
1018
TouchEventArgs
promotedTouchEventArgs = CreateEventArgs(promotedTouchEvent);
1026
PromoteMainToManipulation(manipulatableElement, (
TouchEventArgs
)inputEventArgs);
1068
private void PromoteMainToManipulation(UIElement manipulatableElement,
TouchEventArgs
touchEventArgs)
System\Windows\Input\TouchEventArgs.cs (2)
58
EventHandler<
TouchEventArgs
> handler = (EventHandler<
TouchEventArgs
>)genericHandler;